changeset 1239:31173c4699d2

minor comment
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Fri, 06 Oct 2023 17:02:32 -0400
parents b684135d817f
children bb14f919d1cb
files trafficintelligence/storage.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/trafficintelligence/storage.py	Tue Oct 03 16:51:39 2023 -0400
+++ b/trafficintelligence/storage.py	Fri Oct 06 17:02:32 2023 -0400
@@ -641,6 +641,9 @@
         connection.commit()
 
 def loadPrototypeAssignmentsFromSqlite(filename, objectType):
+    '''Loads the assignments between prototypes
+    Returns a dictionary with prototypes as keys and a list of 
+    the objects/feature nums assigned to each'''
     prototypeAssignments = {}
     if Path(filename).is_file():
         with sqlite3.connect(filename) as connection: