浏览代码

Correcting error where ssList is defined instead of sList

Andrej 1 周之前
父节点
当前提交
15b2c5b40b
共有 1 个文件被更改,包括 1 次插入1 次删除
  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]