Skip to content
Snippets Groups Projects
Verified Commit 14cf62fb authored by Owen Graham's avatar Owen Graham
Browse files

Add `asccol` v0.0.0 to venv

parent 11e1ee73
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ import datetime ...@@ -4,7 +4,6 @@ import datetime
from io import BytesIO from io import BytesIO
import json import json
import math import math
import sys
from types import SimpleNamespace from types import SimpleNamespace
from urllib.request import urlopen from urllib.request import urlopen
from wsgiref.handlers import CGIHandler from wsgiref.handlers import CGIHandler
...@@ -13,6 +12,7 @@ from wsgiref.handlers import CGIHandler ...@@ -13,6 +12,7 @@ from wsgiref.handlers import CGIHandler
activator = '/home/ograham/venv/bin/activate_this.py' activator = '/home/ograham/venv/bin/activate_this.py'
exec(open(activator).read(), {'__file__': activator}) exec(open(activator).read(), {'__file__': activator})
import asccol
from dataclasses import make_dataclass from dataclasses import make_dataclass
from flask import abort, Flask, g, jsonify, render_template, request, Response from flask import abort, Flask, g, jsonify, render_template, request, Response
import matplotlib import matplotlib
...@@ -20,9 +20,6 @@ import matplotlib.pyplot as plt ...@@ -20,9 +20,6 @@ import matplotlib.pyplot as plt
import numpy as np import numpy as np
from pyld import jsonld from pyld import jsonld
sys.path.append('/home/ograham/data-plotting')
import asccol
Measurement = make_dataclass('Measurement', ['url_name', 'field', 'title']) Measurement = make_dataclass('Measurement', ['url_name', 'field', 'title'])
measurements = {m.url_name: m for m in ( measurements = {m.url_name: m for m in (
Measurement('temperature', 1, 'Temperature (C)'), Measurement('temperature', 1, 'Temperature (C)'),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment