X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=appli%2Ftemplate_creaPatientsSystem%2Fscripts%2F00600_PushData.bbg;fp=appli%2Ftemplate_creaPatientsSystem%2Fscripts%2F00600_PushData.bbg;h=83a32c560544d0beeba89ef89ca14b4e19fe33bd;hb=380ac24f1bd5ac018b069d25147f2a626739e494;hp=0000000000000000000000000000000000000000;hpb=e22166cdf8719072962316960de1bf9f4565e62d;p=creaMiniTools.git diff --git a/appli/template_creaPatientsSystem/scripts/00600_PushData.bbg b/appli/template_creaPatientsSystem/scripts/00600_PushData.bbg new file mode 100644 index 0000000..83a32c5 --- /dev/null +++ b/appli/template_creaPatientsSystem/scripts/00600_PushData.bbg @@ -0,0 +1,703 @@ +# ---------------------------------- +# - BBTKGEditor v 1.4 BBG BlackBox Diagram file +# - /Users/davila/CreatisWork/tmpCharly/creaBrainGrayMatter/appli/Appli_creaGM/scripts/00600_PushData.bbg +# ---------------------------------- + +APP_START +CATEGORY: +DESCRIPTION:Description ?? +AUTHOR:Author ?? +COMPLEXBOX:FALSE +COMPLEXINPUTS:3 +COMPLEX_PORT +BaseDir +42.707306:427.144102:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +CoreID +152.815995:426.816420:-900.000000 +FIN_COMPLEX_PORT +COMPLEX_PORT +PatientID +224.766549:426.938901:-900.000000 +FIN_COMPLEX_PORT +BOXES:54 +BOX +wx:CommandButton:Box01 +ISEXEC:FALSE +41.439752:49.678960:-900.000000 +84.214752:39.678960:-900.000000 +PORT +Label:"7. Push and Exit" +FIN_BOX +BOX +wx:OutputText:Box03 +ISEXEC:FALSE +-161.484464:46.041477:-900.000000 +-124.709464:36.041477:-900.000000 +PORT +Title:"Core" +FIN_BOX +BOX +creaVtk:OutputWindow:Box05 +ISEXEC:TRUE +-33.819548:-339.561016:-900.000000 +6.780452:-349.561016:-900.000000 +FIN_BOX +BOX +wx:LayoutCenter:Box06 +ISEXEC:FALSE +19.164529:-38.156105:-900.000000 +58.464529:-48.156105:-900.000000 +PORT +WinTitle:"With Proxy" +FIN_BOX +BOX +wx:LayoutLine:Box07 +ISEXEC:TRUE +31.528781:-342.223463:-900.000000 +89.088781:-352.223463:-900.000000 +PORT +WinDialog:"true" +PORT +WinHeight:"500" +PORT +WinTitle:"00600_PushData.bbs" +PORT +WinWidth:"800" +FIN_BOX +BOX +std:ExecSystemCommand:Box08 +ISEXEC:FALSE +295.116119:-227.942215:-900.000000 +343.416119:-237.942215:-900.000000 +FIN_BOX +BOX +std:Exit:Box09 +ISEXEC:FALSE +409.440179:-293.504183:-900.000000 +439.015179:-303.504183:-900.000000 +FIN_BOX +BOX +std:MagicBox:Box11 +ISEXEC:FALSE +32.843940:389.935515:-900.000000 +68.918940:379.935515:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box12 +ISEXEC:FALSE +6.231283:-22.105122:-900.000000 +63.791283:-32.105122:-900.000000 +FIN_BOX +BOX +wx:InputText:Box13 +ISEXEC:FALSE +-62.490752:49.158950:-900.000000 +-26.490752:39.158950:-900.000000 +PORT +Title:"Proxy User" +FIN_BOX +BOX +wx:InputTextPassword:Box14 +ISEXEC:FALSE +-12.606235:49.298908:-900.000000 +31.493765:39.298908:-900.000000 +PORT +Title:"Proxy Passwword" +FIN_BOX +BOX +wx:LayoutTab:Box15 +ISEXEC:FALSE +7.496431:-126.475289:-900.000000 +65.056431:-136.475289:-900.000000 +FIN_BOX +BOX +wx:CommandButton:Box17 +ISEXEC:FALSE +272.816353:-11.407130:-900.000000 +315.591353:-21.407130:-900.000000 +PORT +Label:"7. Push and Exit" +FIN_BOX +BOX +wx:OutputText:Box18 +ISEXEC:FALSE +200.783818:9.190236:-900.000000 +237.558818:-0.809764:-900.000000 +FIN_BOX +BOX +wx:LayoutCenter:Box19 +ISEXEC:FALSE +268.957373:-46.390664:-900.000000 +308.257373:-56.390664:-900.000000 +FIN_BOX +BOX +wx:LayoutLine:Box26 +ISEXEC:FALSE +212.163129:-66.030899:-900.000000 +269.723129:-76.030899:-900.000000 +PORT +WinTitle:"No Proxy" +FIN_BOX +BOX +std:ConcatStrings:Box27 +ISEXEC:FALSE +83.198444:-1.326259:-900.000000 +122.923444:-11.326259:-900.000000 +PORT +In1:" set https_proxy=https&&2P&&//" +PORT +In3:"&&2P&&" +PORT +In5:"@proxy2-hcl.chu-lyon.fr&&2P&&80" +PORT +In6:"&& " +FIN_BOX +BOX +std:ConcatStrings:Box30 +ISEXEC:FALSE +29.779996:-176.534800:-900.000000 +69.504996:-186.534800:-900.000000 +PORT +In1:"export GIRDER_API_KEY=DJn22j9xJUMjcHeWLanPXRrHTqRpXd20UXtKaB9S && " +PORT +In5:" girder-client " +PORT +In7:"--api-url https&&2P&&//myriad.creatis.insa-lyon.fr&&2P&&443/api/v1 " +FIN_BOX +BOX +std:ConcatStrings:Box32 +ISEXEC:FALSE +143.031668:0.031704:-900.000000 +182.756668:-9.968296:-900.000000 +PORT +In1:" upload " +PORT +In2:"XXXXX" +PORT +In3:" " +PORT +In5:" --reuse " +FIN_BOX +BOX +std:MagicBox:Box35 +ISEXEC:FALSE +220.901196:383.749161:-900.000000 +256.976196:373.749161:-900.000000 +FIN_BOX +BOX +std:ReplaceString:Box36 +ISEXEC:FALSE +35.894953:108.163365:-900.000000 +75.619953:98.163365:-900.000000 +PORT +Replace:"6187823d34933039d3c8edba" +PORT +Search:"Study_B" +FIN_BOX +BOX +std:ReplaceString:Box37 +ISEXEC:FALSE +33.266939:121.960028:-900.000000 +72.991939:111.960028:-900.000000 +PORT +Replace:"618e3d0b34933039d3c8ee34" +PORT +Search:"Study_A" +FIN_BOX +BOX +std:ReplaceString:Box39 +ISEXEC:FALSE +35.546918:92.099438:-900.000000 +75.271918:82.099438:-900.000000 +PORT +Replace:"6187824a34933039d3c8edbb" +PORT +Search:"Study_C" +FIN_BOX +BOX +std:MagicBox:Box40 +ISEXEC:FALSE +145.887074:388.130605:-900.000000 +181.962074:378.130605:-900.000000 +FIN_BOX +BOX +std:ReplaceString:Box45 +ISEXEC:FALSE +18.675384:144.194822:-900.000000 +58.400384:134.194822:-900.000000 +PORT +Replace:" " +PORT +Search:"/" +FIN_BOX +BOX +std:ReplaceString:Box46 +ISEXEC:FALSE +21.676285:159.936984:-900.000000 +61.401285:149.936984:-900.000000 +PORT +Replace:" " +PORT +Search:"\" +FIN_BOX +BOX +std:StringWriter:Box47 +ISEXEC:FALSE +359.317525:-245.699154:-900.000000 +401.477525:-255.699154:-900.000000 +PORT +In0:"Push" +FIN_BOX +BOX +std:ConcatStrings:Box48 +ISEXEC:FALSE +167.208540:100.094828:-900.000000 +206.933540:90.094828:-900.000000 +PORT +In2:"/Push.dat" +FIN_BOX +BOX +std:ConcatStrings:Box53 +ISEXEC:FALSE +281.322643:377.404931:-900.000000 +321.047643:367.404931:-900.000000 +PORT +In1:"//davila//Test_01//Condition_01" +FIN_BOX +BOX +std:ReplaceString:Box54 +ISEXEC:FALSE +270.722657:345.000289:-900.000000 +310.447657:335.000289:-900.000000 +PORT +Search:"" +FIN_BOX +BOX +std:ReplaceString:Box55 +ISEXEC:FALSE +258.918139:323.635136:-900.000000 +298.643139:313.635136:-900.000000 +PORT +Search:"" +FIN_BOX +BOX +std:ConcatStrings:Box56 +ISEXEC:FALSE +210.701871:211.501310:-900.000000 +250.426871:201.501310:-900.000000 +PORT +In2:"/results/" +FIN_BOX +BOX +wx:OutputText:Box58 +ISEXEC:FALSE +-110.607181:45.987160:-900.000000 +-73.832181:35.987160:-900.000000 +PORT +Title:"Patient" +FIN_BOX +BOX +wx:OutputText:Box59 +ISEXEC:FALSE +218.721214:-10.696142:-900.000000 +255.496214:-20.696142:-900.000000 +PORT +Title:"Core" +FIN_BOX +BOX +wx:OutputText:Box60 +ISEXEC:FALSE +230.735425:-28.390051:-900.000000 +267.510425:-38.390051:-900.000000 +PORT +Title:"Patient" +FIN_BOX +BOX +std:ReplaceString:Box61 +ISEXEC:FALSE +-117.216473:154.491732:-900.000000 +-77.491473:144.491732:-900.000000 +PORT +Search:"/" +FIN_BOX +BOX +std:ReplaceString:Box62 +ISEXEC:FALSE +-52.729311:151.612620:-900.000000 +-13.004311:141.612620:-900.000000 +PORT +Search:"/" +FIN_BOX +BOX +std:MultipleInputs:Box63 +ISEXEC:FALSE +345.217236:-324.236732:-900.000000 +384.917236:-334.236732:-900.000000 +FIN_BOX +BOX +std:ConcatStrings:Box67 +ISEXEC:FALSE +371.896257:262.524323:-900.000000 +411.621257:252.524323:-900.000000 +PORT +In2:"/.tmp/" +FIN_BOX +BOX +std:ExecSystemCommand:Box69 +ISEXEC:FALSE +392.992554:-271.544834:-900.000000 +441.292554:-281.544834:-900.000000 +FIN_BOX +BOX +std:Configuration:Box74 +ISEXEC:FALSE +356.330583:-77.742522:-900.000000 +395.755583:-87.742522:-900.000000 +FIN_BOX +BOX +std:StringSelect:Box76 +ISEXEC:FALSE +32.421321:-156.494151:-900.000000 +74.581321:-166.494151:-900.000000 +PORT +In0:" " +FIN_BOX +BOX +std:MultipleInputs:Box77 +ISEXEC:FALSE +99.386450:-221.466292:-900.000000 +139.086450:-231.466292:-900.000000 +FIN_BOX +BOX +std:ReplaceString:Box78 +ISEXEC:FALSE +311.362034:295.598605:-900.000000 +351.087034:285.598605:-900.000000 +PORT +Replace:"00300_Filter" +PORT +Search:"" +FIN_BOX +BOX +std:ReplaceString:Box79 +ISEXEC:FALSE +193.046715:292.385528:-900.000000 +232.771715:282.385528:-900.000000 +PORT +Replace:"00100_OriginalImages" +PORT +Search:"" +FIN_BOX +BOX +std:ReplaceString:Box80 +ISEXEC:FALSE +242.172004:291.685449:-900.000000 +281.897004:281.685449:-900.000000 +PORT +Replace:"00200_InitialParameters" +PORT +Search:"" +FIN_BOX +BOX +std:ConcatStrings:Box91 +ISEXEC:FALSE +160.084289:211.398494:-900.000000 +199.809289:201.398494:-900.000000 +PORT +In2:"/results/" +FIN_BOX +BOX +std:ConcatStrings:Box92 +ISEXEC:FALSE +112.559447:211.811136:-900.000000 +152.284447:201.811136:-900.000000 +PORT +In2:"/results/" +FIN_BOX +BOX +std:ConcatStrings:Box93 +ISEXEC:FALSE +117.184941:100.577324:-900.000000 +156.909941:90.577324:-900.000000 +PORT +In3:"/*" +FIN_BOX +BOX +std:StringSelect:Box94 +ISEXEC:FALSE +398.198732:-139.945967:-900.000000 +440.358732:-149.945967:-900.000000 +PORT +In0:"rm -rf " +PORT +In1:"del " +PORT +In2:"rm -rf " +FIN_BOX +BOX +std:ConcatStrings:Box95 +ISEXEC:FALSE +458.783385:-192.617792:-900.000000 +498.508385:-202.617792:-900.000000 +PORT +In2:" " +FIN_BOX +BOX +std:ExecSystemCommand:Box97 +ISEXEC:FALSE +235.471171:-198.670598:-900.000000 +283.771171:-208.670598:-900.000000 +FIN_BOX +BOX +std:StringSelect:Box98 +ISEXEC:FALSE +206.283375:-154.105974:-900.000000 +248.443375:-164.105974:-900.000000 +PORT +In0:"source 00610_CreateTmp.sh" +PORT +In1:"00610_CreateTmp.bat" +PORT +In2:"source 00610_CreateTmp.sh" +FIN_BOX +BOX +std:ConcatStrings:Box99 +ISEXEC:FALSE +243.820262:-178.824074:-900.000000 +283.545262:-188.824074:-900.000000 +PORT +In2:" " +PORT +In4:" " +PORT +In6:" " +FIN_BOX +CONNECTIONS:75 +CONNECTION +Box12:Widget:Box06:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box15:Widget:Box07:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box18:Widget:Box26:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box14:Out:Box27:In4 +NumberOfControlPoints:0 +CONNECTION +Box13:Out:Box27:In2 +NumberOfControlPoints:0 +CONNECTION +Box30:Out:Box08:In +NumberOfControlPoints:0 +CONNECTION +Box32:Out:Box30:In8 +NumberOfControlPoints:0 +CONNECTION +Box37:Out:Box36:In +NumberOfControlPoints:0 +CONNECTION +Box36:Out:Box39:In +NumberOfControlPoints:0 +CONNECTION +Box46:Out:Box45:In +NumberOfControlPoints:0 +CONNECTION +Box45:Out:Box37:In +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box46:In +NumberOfControlPoints:0 +CONNECTION +Box48:Out:Box47:FileName +NumberOfControlPoints:0 +CONNECTION +BaseDir:BaseDir:Box11:In +NumberOfControlPoints:0 +CONNECTION +CoreID:CoreID:Box40:In +NumberOfControlPoints:0 +CONNECTION +PatientID:PatientID:Box35:In +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box54:Replace +NumberOfControlPoints:0 +CONNECTION +Box53:Out:Box54:In +NumberOfControlPoints:0 +CONNECTION +Box54:Out:Box55:In +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box56:In1 +NumberOfControlPoints:0 +CONNECTION +Box01:Widget:Box12:Widget8 +NumberOfControlPoints:0 +CONNECTION +Box14:Widget:Box12:Widget6 +NumberOfControlPoints:0 +CONNECTION +Box13:Widget:Box12:Widget4 +NumberOfControlPoints:0 +CONNECTION +Box03:Widget:Box12:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box58:Widget:Box12:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box19:Widget:Box26:Widget8 +NumberOfControlPoints:0 +CONNECTION +Box60:Widget:Box26:Widget5 +NumberOfControlPoints:0 +CONNECTION +Box59:Widget:Box26:Widget3 +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box61:In +NumberOfControlPoints:0 +CONNECTION +Box61:Out:Box03:In +NumberOfControlPoints:0 +CONNECTION +Box61:Out:Box59:In +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box62:In +NumberOfControlPoints:0 +CONNECTION +Box62:Out:Box60:In +NumberOfControlPoints:0 +CONNECTION +Box62:Out:Box58:In +NumberOfControlPoints:0 +CONNECTION +Box39:Out:Box32:In2 +NumberOfControlPoints:0 +CONNECTION +Box08:BoxChange:Box63:In3 +NumberOfControlPoints:0 +CONNECTION +Box47:BoxChange:Box63:In5 +NumberOfControlPoints:0 +CONNECTION +Box09:BoxChange:Box63:In9 +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box67:In1 +NumberOfControlPoints:0 +CONNECTION +Box17:Widget:Box19:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box69:BoxChange:Box63:In8 +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box55:Replace +NumberOfControlPoints:0 +CONNECTION +Box15:Selection:Box76:In +NumberOfControlPoints:0 +CONNECTION +Box27:Out:Box76:In1 +NumberOfControlPoints:0 +CONNECTION +Box76:Out:Box30:In2 +NumberOfControlPoints:0 +CONNECTION +Box26:Widget:Box15:Widget1 +NumberOfControlPoints:0 +CONNECTION +Box06:Widget:Box15:Widget2 +NumberOfControlPoints:0 +CONNECTION +Box01:BoxChange:Box77:In1 +NumberOfControlPoints:0 +CONNECTION +Box17:BoxChange:Box77:In2 +NumberOfControlPoints:0 +CONNECTION +Box77:BoxChange:Box63:BoxExecute +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box78:In +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box79:In +NumberOfControlPoints:0 +CONNECTION +Box55:Out:Box80:In +NumberOfControlPoints:0 +CONNECTION +Box78:Out:Box56:In3 +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box48:In1 +NumberOfControlPoints:0 +CONNECTION +Box56:Out:Box18:In +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box92:In1 +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box91:In1 +NumberOfControlPoints:0 +CONNECTION +Box79:Out:Box92:In3 +NumberOfControlPoints:0 +CONNECTION +Box80:Out:Box91:In3 +NumberOfControlPoints:0 +CONNECTION +Box93:Out:Box32:In4 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box93:In1 +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box93:In2 +NumberOfControlPoints:0 +CONNECTION +Box74:SystemType:Box94:In +NumberOfControlPoints:0 +CONNECTION +Box94:Out:Box95:In1 +NumberOfControlPoints:0 +CONNECTION +Box67:Out:Box95:In3 +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box95:In4 +NumberOfControlPoints:0 +CONNECTION +Box95:Out:Box69:In +NumberOfControlPoints:0 +CONNECTION +Box97:BoxChange:Box63:In2 +NumberOfControlPoints:0 +CONNECTION +Box74:SystemType:Box98:In +NumberOfControlPoints:0 +CONNECTION +Box98:Out:Box99:In1 +NumberOfControlPoints:0 +CONNECTION +Box11:Out:Box99:In3 +NumberOfControlPoints:0 +CONNECTION +Box40:Out:Box99:In5 +NumberOfControlPoints:0 +CONNECTION +Box35:Out:Box99:In7 +NumberOfControlPoints:0 +CONNECTION +Box99:Out:Box97:In +NumberOfControlPoints:0 +APP_END