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
from io import BytesIO
import json
import math
import sys
from types import SimpleNamespace
from urllib.request import urlopen
from wsgiref.handlers import CGIHandler
......@@ -13,6 +12,7 @@ from wsgiref.handlers import CGIHandler
activator = '/home/ograham/venv/bin/activate_this.py'
exec(open(activator).read(), {'__file__': activator})
import asccol
from dataclasses import make_dataclass
from flask import abort, Flask, g, jsonify, render_template, request, Response
import matplotlib
......@@ -20,9 +20,6 @@ import matplotlib.pyplot as plt
import numpy as np
from pyld import jsonld
sys.path.append('/home/ograham/data-plotting')
import asccol
Measurement = make_dataclass('Measurement', ['url_name', 'field', 'title'])
measurements = {m.url_name: m for m in (
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