Browse Source

Correcting error where ssList is defined instead of sList

Andrej 1 week ago
parent
commit
15b2c5b40b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      slicerModules/imageBrowser.py

+ 1 - 1
slicerModules/imageBrowser.py

@@ -760,7 +760,7 @@ class imageBrowserLogic(ScriptedLoadableModuleLogic):
         #get the latest key by adding an entry to SegmentationList
         #get the latest key by adding an entry to SegmentationList
         copyFields=[self.isetup['participantField'],'patientCode','visitCode','User']
         copyFields=[self.isetup['participantField'],'patientCode','visitCode','User']
         outRow={x:self.segmentationEntry[x] for x in copyFields}
         outRow={x:self.segmentationEntry[x] for x in copyFields}
-        ssList=self.isetup['datasets']['SegmentationsList']
+        sList=self.isetup['datasets']['SegmentationsList']
         respJSON=self.db.modifyRows('insert',sList['project'],
         respJSON=self.db.modifyRows('insert',sList['project'],
             sList['schema'],sList['query'],[outRow])
             sList['schema'],sList['query'],[outRow])
         outRow=respJSON['rows'][0]
         outRow=respJSON['rows'][0]