diff --git a/nordb/bin/NorDB.py b/nordb/bin/NorDB.py index 0e2cebd15c4c53ac496ca3a5869b965c918968f6..2e814f3e52f843899f6f0e92cc95aba50670919a 100644 --- a/nordb/bin/NorDB.py +++ b/nordb/bin/NorDB.py @@ -1399,7 +1399,7 @@ def reclassify_events(repo, startdate, enddate, logdir, legacy, db_conn = None): with open(log_file, 'w') as f: f.write("Command: reclassify\nstartdate: '{}', enddate: '{}', legacy: '{}'\nlogdir: '{}'\n" "".format(startdate, enddate, legacy, logdir)) - f.write("Altering table 'event_classification'\n\npid\tanalyis_id\told\tnew\n") + f.write("Altering table 'event_classification'\n\npid\tanalysis_id\told\tnew\n") # The following is an edited "copypaste import" from norlyst.databaseAccess # Importing the functionalities properly somehow would be more elegant but that's not the priority here @@ -1491,7 +1491,7 @@ def reclassify_events(repo, startdate, enddate, logdir, legacy, db_conn = None): res = 99 # Note: variable 'rpid' represents here the attribute event_classification.pid (that is a root pid) and - # variable 'pid' event_analysis.anaysis_id (that is used above for determining the new classification) + # variable 'pid' event_analysis.analysis_id (that is used above for determining the new classification) new_classification = res cur.execute("SELECT classification FROM event_classification WHERE pid = %s", (rpid,))