|
@@ -751,10 +751,8 @@ class imageBrowserLogic(ScriptedLoadableModuleLogic):
|
|
|
copyFields=[self.isetup['participantField'],'patientCode','visitCode','User']
|
|
|
outRow={x:self.segmentationEntry[x] for x in copyFields}
|
|
|
sList=self.isetup['datasets']['SegmentationsList']
|
|
|
- resp=self.db.modifyRows('insert',sList['project'],
|
|
|
+ respJSON=self.db.modifyRows('insert',sList['project'],
|
|
|
sList['schema'],sList['query'],[outRow])
|
|
|
- encoding=chardet.detect(resp)['encoding']
|
|
|
- respJSON=json.loads(resp.decode(encoding))
|
|
|
outRow=respJSON['rows'][0]
|
|
|
#print(outRow)
|
|
|
|