Mercurial Hosting > traffic-intelligence
diff trafficintelligence/storage.py @ 1239:31173c4699d2
minor comment
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Fri, 06 Oct 2023 17:02:32 -0400 |
parents | d5695e0b59d9 |
children | ab4c72b9475c |
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: