Skip to content
Snippets Groups Projects
Commit e6e761b4 authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Changed some imports and other odds and ends to make datafinder work.

parent 8bff1f0d
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ from tqdm import tqdm
import schema
from .util import groups_of
from schema import ScienceProduct, AncillaryProduct, Project
from schema.model import ScienceProduct, AncillaryProduct, Project
from schema.ngasmodel import NGASFile
......
......@@ -11,7 +11,7 @@ from pandas import DataFrame
import schema
from .util import groups_of
from schema import File
from schema.model import File
from schema.legacy_model import t_ngas_file_sets
from schema.ngasmodel import NGASFile
from sqlalchemy.sql import *
......
......@@ -10,9 +10,9 @@ from schema.ngasmodel import NGASFile
def main():
session = pyat.schema.create_session('SDM', profile='local')
ngas = pyat.schema.create_session('NGAS', profile='local')
legacy = pyat.schema.create_session('LEGACY', profile='local')
session = schema.create_session('SDM', profile='local')
ngas = schema.create_session('NGAS', profile='local')
legacy = schema.create_session('LEGACY', profile='local')
print('loading SDMs from NGAS')
sdm_query = select([NGASFile.file_id.label('ngas_id')])\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment