Explorar o código

Correcting error where ssList is defined instead of sList

Andrej hai 1 semana
pai
achega
15b2c5b40b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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
         copyFields=[self.isetup['participantField'],'patientCode','visitCode','User']
         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'],
             sList['schema'],sList['query'],[outRow])
         outRow=respJSON['rows'][0]