]> Creatis software - creaMiniTools.git/blobdiff - appli/template_creaPatientsSystem/scripts/00600_PushData.bbs
3421 template_creaPatientsSystem
[creaMiniTools.git] / appli / template_creaPatientsSystem / scripts / 00600_PushData.bbs
index d9d6673091dead04abb4b14554ccebb8628eb3eb..5816ee7b7ff9a6e3de7b73909778a48ad6dbf0ee 100644 (file)
@@ -1,6 +1,6 @@
 # ----------------------------------
 # - BBTKGEditor v 1.4 BBS BlackBox Script
-# - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_creaGM/scripts/00600_PushData.bbs
+# - /Users/davila/Creatis/C11/creatools_source/creaMiniTools/appli/template_creaPatientsSystem/scripts/00600_PushData.bbs
 # ----------------------------------
 
 # BBTK GEditor Script
@@ -11,6 +11,7 @@ include itkvtk
 include wx
 include creaVtk
 include std
+include creaMiniTools
 
 author "Author ??"
 description "Description ??"
@@ -100,11 +101,8 @@ new std:ReplaceString Box46
   set Box46.Replace " "
   set Box46.Search "\"
 
-new std:StringWriter Box47
-  set Box47.In0 "Push"
-
 new std:ConcatStrings Box48
-  set Box48.In2 "/Push.dat"
+  set Box48.In2 "/Step06_PushDB.txt"
 
 new std:ConcatStrings Box53
   set Box53.In1 "/<CORE>/davila/<ALGO>/Test_01/<PATIENT>/Condition_01"
@@ -188,6 +186,11 @@ new std:ConcatStrings Box99
   set Box99.In4 "  "
   set Box99.In6 "  "
 
+new std:ConcatStrings Box88
+
+new creaMiniTools:WriteStatePatientSystem Box89
+  set Box89.State "Finish"
+
 
 connect Box12.Widget Box06.Widget2
 
@@ -213,8 +216,6 @@ connect Box45.Out Box37.In
 
 connect Box40.Out Box46.In
 
-connect Box48.Out Box47.FileName
-
 
 
 
@@ -258,8 +259,6 @@ connect Box39.Out Box32.In2
 
 connect Box08.BoxChange Box63.In3
 
-connect Box47.BoxChange Box63.In5
-
 connect Box09.BoxChange Box63.In9
 
 connect Box11.Out Box67.In1
@@ -337,10 +336,18 @@ connect Box35.Out Box99.In7
 connect Box99.Out Box97.In
 
 
+connect Box88.Out Box89.User
+
+connect Box48.Out Box89.Filename
+
+connect Box89.boxChange Box63.In4
+
+
 
 # Complex input ports
 input BaseDir Box11.In " "
 input CoreID Box40.In " "
 input PatientID Box35.In " "
+input creaUser Box88.In1 " "
 exec Box05
 exec Box07