1 # ----------------------------------
2 # - BBTKGEditor v 1.4 BBS BlackBox Script
3 # - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_creaGM/scripts/Report.bbs
4 # ----------------------------------
7 # ----------------------
16 description "Description ??"
19 new wx:LayoutSplit Box02
20 set Box02.Proportion "90"
21 set Box02.WinWidth "1000"
23 new std:MagicBox Box03
25 new wx:OutputText Box04
27 new wx:CommandButton Box05
28 set Box05.Label "Refresh"
30 new wx:LayoutLine Box06
32 new wx:LayoutLine Box08
33 set Box08.Orientation "H"
35 new wx:OutputText Box09
37 new wx:CommandButton Box10
38 set Box10.Label "Exit"
40 new wx:OutputText Box11
44 new std:ConcatStrings Box13
45 set Box13.In2 "/results"
47 new wx:OutputText Box14
49 new creaMiniTools:CreateReport01 Box15
50 set Box15.LstPatientsID "P01 P02 P03"
51 set Box15.LstTitles1 "+ Step01 Step02 Step03 Step04 Step05 Step06 General Scientific Informatic"
52 set Box15.LstTitles2 "Patient Insert_Date InitValues Filter Correction Validation PushDB Comment Comment Comment"
55 set Box16.Column00 " Patient _ P1 _ _ _ P2 _ _ _ P3 _ _ _ P4 _ _ _ "
56 set Box16.Column01 "Initial_point _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ "
57 set Box16.Column02 "Segmentaiton _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ "
58 set Box16.Column03 "Validateion _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ "
59 set Box16.Column04 "Correction _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ Eduardo 12/12 12h34 _ "
60 set Box16.Column05 "Scientific _ Coment_1 _ _ _ Coment_AAAA _ _ _ Comment_BBBB _ _ _ Coment_CCC _ _ _ "
61 set Box16.Titles "_ Step1 Step2 Step3 Comments Comments"
65 new std:ConcatStrings Box18
66 set Box18.In1 "/<CORE>/davila/<ALGO>/Test_01/<PATIENT>/Condition_01"
68 new std:ReplaceString Box20
69 set Box20.Search "<CORE>"
71 new std:MagicBox Box21
73 new std:ReplaceString Box22
74 set Box22.Replace "00100_OriginalImages"
75 set Box22.Search "<ALGO>"
77 new std:ReplaceString Box23
78 set Box23.Replace "00200_InitialParameters"
79 set Box23.Search "<ALGO>"
81 new std:ReplaceString Box24
82 set Box24.Replace "00300_Filter"
83 set Box24.Search "<ALGO>"
85 new std:ConcatStrings Box25
86 set Box25.In3 "/Step001.txt "
88 new std:ConcatStrings Box26
89 set Box26.In2 "/results"
91 new std:ConcatStrings Box27
92 set Box27.In3 "/Step002.txt "
94 new std:ConcatStrings Box28
95 set Box28.In3 "/Step03.txt "
97 new std:ConcatStrings Box29
99 new std:ConcatStrings Box30
100 set Box30.In3 "/Comments_General.txt "
102 new std:ConcatStrings Box31
103 set Box31.In3 "/Comments_Informatic.txt "
105 new std:ConcatStrings Box32
106 set Box32.In3 "/Comments_Scientific.txt "
108 new std:ConcatStrings Box33
110 new std:ConcatStrings Box34
111 set Box34.In3 "/Step04.txt "
113 new std:ConcatStrings Box35
114 set Box35.In3 "/Step05.txt "
116 new std:ConcatStrings Box36
117 set Box36.In3 "/Step06.txt "
121 connect Box04.Widget Box06.Widget1
123 connect Box06.Widget Box02.Widget2
125 connect Box08.Widget Box06.Widget2
127 connect Box09.Widget Box08.Widget1
129 connect Box05.Widget Box08.Widget2
131 connect Box11.Widget Box08.Widget3
133 connect Box10.Widget Box08.Widget4
135 connect Box10.BoxChange Box12.BoxExecute
137 connect Box03.Out Box13.In1
139 connect Box14.Widget Box08.Widget5
141 connect Box17.Widget Box02.Widget1
143 connect Box15.LstTitles Box17.Titles
145 connect Box15.Out00 Box17.Column00
147 connect Box18.Out Box20.In
150 connect Box21.Out Box20.Replace
152 connect Box20.Out Box22.In
154 connect Box20.Out Box23.In
156 connect Box20.Out Box24.In
158 connect Box13.Out Box25.In1
160 connect Box22.Out Box25.In2
162 connect Box13.Out Box26.In1
164 connect Box21.Out Box26.In3
166 connect Box26.Out Box04.In
168 connect Box23.Out Box27.In2
170 connect Box13.Out Box27.In1
172 connect Box24.Out Box28.In2
174 connect Box13.Out Box28.In1
176 connect Box25.Out Box29.In1
178 connect Box27.Out Box29.In2
180 connect Box28.Out Box29.In3
182 connect Box29.Out Box15.LstStepsPath
184 connect Box24.Out Box30.In2
186 connect Box13.Out Box30.In1
188 connect Box13.Out Box31.In1
190 connect Box24.Out Box31.In2
192 connect Box13.Out Box32.In1
194 connect Box24.Out Box32.In2
196 connect Box30.Out Box33.In1
198 connect Box31.Out Box33.In2
200 connect Box32.Out Box33.In3
202 connect Box33.Out Box15.LstCommentsPath
204 connect Box13.Out Box34.In1
206 connect Box24.Out Box34.In2
208 connect Box13.Out Box35.In1
210 connect Box24.Out Box35.In2
212 connect Box34.Out Box29.In4
214 connect Box35.Out Box29.In5
216 connect Box36.Out Box29.In6
218 connect Box15.Out01 Box17.Column01
220 connect Box15.Out02 Box17.Column02
222 connect Box15.Out03 Box17.Column03
224 connect Box15.Out04 Box17.Column04
226 connect Box15.Out05 Box17.Column05
228 connect Box15.Out06 Box17.Column06
230 connect Box15.Out07 Box17.Column07
232 connect Box15.Out08 Box17.Column08
234 connect Box15.Out09 Box17.Column09
236 connect Box15.Out10 Box17.Column10
238 connect Box24.Out Box36.In2
240 connect Box13.Out Box36.In1
244 # Complex input ports
245 input BaseDir Box03.In " "
246 input CoreID Box21.In " "