# ---------------------------------- # - BBTKGEditor v 1.4 BBS BlackBox Script # - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_ceraGM/scripts/ResetPatient.bbs # ---------------------------------- # BBTK GEditor Script # ---------------------- include std include itkvtk include wx include std include creaVtk author "Author ??" description "Description ??" category "" new wx:CommandButton Box02 set Box02.Label "Reset Patient and Exit" new std:ConcatStrings Box03 set Box03.In1 "rm -rf " set Box03.In2 " " set Box03.In3 " " new std:ExecSystemCommand Box04 new std:Exit Box05 new wx:LayoutCenter Box06 new creaVtk:OutputWindow Box07 new wx:LayoutLine Box08 set Box08.WinHeight "300" set Box08.WinTitle "ResetPatient.bbs" new std:ConcatStrings Box10 new wx:OutputText Box11 new std:ConcatStrings Box14 new std:ConcatStrings Box18 set Box18.In1 "del " set Box18.In3 " " new std:StringSelect Box19 new std:Configuration Box20 new std:ReplaceString Box17 set Box17.Replace "\" set Box17.Search "/" new std:ConcatStrings Box21 new std:ConcatStrings Box22 set Box22.In2 "/results/" new std:ConcatStrings Box23 set Box23.In1 "//davila/00300_Filter/Test_01//Condition_01" new std:ReplaceCleanString Box24 set Box24.Search "" new std:ReplaceCleanString Box25 set Box25.Search "" new std:MultipleInputs Box26 new std:ExecSystemCommand Box27 new std:ConcatStrings Box28 set Box28.In1 "rm -rf " set Box28.In2 " " set Box28.In3 " " new std:ConcatStrings Box29 set Box29.In1 "del " set Box29.In3 " " new std:StringSelect Box30 new std:ReplaceString Box31 set Box31.Replace "\" set Box31.Search "/" new std:ReplaceCleanString Box33 set Box33.Replace "00200_InitialParameters" set Box33.Search "00300_Filter" new wx:OutputText Box34 new wx:LayoutLine Box35 new wx:OutputText Box36 connect Box02.Widget Box06.Widget2 connect Box06.Widget Box08.Widget3 connect Box03.Out Box19.In0 connect Box20.SystemType Box19.In connect Box18.Out Box17.In connect Box03.Out Box19.In2 connect Box23.Out Box24.In connect Box21.Out Box24.Replace connect Box24.Out Box25.In connect Box10.Out Box25.Replace connect Box14.Out Box22.In1 connect Box25.Out Box22.In3 connect Box19.Out Box04.In connect Box22.Out Box03.In3 connect Box22.Out Box18.In4 connect Box17.Out Box19.In1 connect Box05.BoxChange Box26.In9 connect Box02.BoxChange Box26.BoxExecute connect Box04.BoxChange Box26.In1 connect Box27.BoxChange Box26.In3 connect Box28.Out Box30.In0 connect Box29.Out Box31.In connect Box28.Out Box30.In2 connect Box31.Out Box30.In1 connect Box20.SystemType Box30.In connect Box30.Out Box27.In connect Box22.Out Box33.In connect Box33.Out Box28.In3 connect Box33.Out Box29.In4 connect Box35.Widget Box08.Widget2 connect Box22.Out Box11.In connect Box33.Out Box34.In connect Box36.Widget Box35.Widget1 connect Box34.Widget Box35.Widget3 connect Box11.Widget Box35.Widget5 # Complex input ports input BaseDir Box14.In1 " " input PatientID Box10.In1 " " input CoreID Box21.In1 " " exec Box07 exec Box08