Skip to content

Commit f83f7db

Browse files
author
stephanie
committed
fix casing error
1 parent 13d2404 commit f83f7db

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

Examples/Sample.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,15 @@
1717
#connect to database
1818
# createconnection (dbtype, servername, dbname, username, password)
1919
# session_factory = dbconnection.createConnection('connection type: sqlite|mysql|mssql|postgresql', '/your/path/to/db/goes/here', 2.0)#sqlite
20-
session_factory = dbconnection.createConnection('mysql', 'localhost', 'odm2', 'ODM', 'odm')#mysql
20+
# session_factory = dbconnection.createConnection('mysql', 'localhost', 'odm2', 'ODM', 'odm')#mysql
2121
# session_factory= dbconnection.createConnection('mssql', "(local)", "ODM2", "ODM", "odm")#win MSSQL
2222
# session_factory= dbconnection.createConnection('mssql', "arroyoodm2", "", "ODM", "odm")#mac/linux MSSQL
23-
# session_factory = dbconnection.createConnection('sqlite', '/Users/stephanie/DEV/ODM2/usecases/WOF_to_ODM2/ODM2.sqlite', 2.0)
23+
24+
25+
session_factory = dbconnection.createConnection('mysql', 'iutahmysql.uwrl.usu.edu', 'wofpy', 'webuser', 'W3bUs3r123!!')
26+
27+
28+
2429

2530

2631

odm2api/ODM2/services/readService.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__author__ = 'sree'
1+
__author__ = 'sreeder'
22

33
from sqlalchemy import func
44
import pandas as pd
@@ -80,7 +80,7 @@ def getAnnotations(self, type=None):
8080
a = SectionResultValueAnnotations
8181
elif type == "spectraresultvalue":
8282
a = SpectraResultValueAnnotations
83-
elif type == "timeSeriesresultvalue":
83+
elif type == "timeseriesresultvalue":
8484
a = TimeSeriesResultValueAnnotations
8585
elif type == "trajectoryresultvalue":
8686
a = TrajectoryResultValueAnnotations

0 commit comments

Comments
 (0)