Sfoglia il codice sorgente

Making sure nodes are cleared before loading - RT import uses global segmentation list for loading

Andrej 3 anni fa
parent
commit
8fabb5cb16
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 5 1
      loadPatient.py

+ 5 - 1
loadPatient.py

@@ -16,7 +16,11 @@ def getOICode(db, project, label):
 
 
 def load(db,fb,fbDMR,iDicom,lDicom,project,label):
-    print('loadPatient.load ver: 1.0.2')
+
+    print('loadPatient.load ver: 1.0.3')
+
+    lDicom.clearNodes()
+
 
     idFilter={'variable':'EMBRACE_ID','value':label,'oper':'eq'}
     ctFilter={'variable':'type','value':'CT','oper':'eq'}