File tree Expand file tree Collapse file tree 5 files changed +6
-7
lines changed
viplab-standalone-frontend-vue Expand file tree Collapse file tree 5 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 1- VUE_APP_FILENAME = workshop-bash-example.computation-template
1+ VUE_APP_FILENAME = hello-world.docker-container-example
2+ # workshop-snakemake-example.computation-template
23# workshop-snakemake-example.computation-template
34# leap-year.computation-template
45# case_1.computation-template
Original file line number Diff line number Diff line change 11{
22 "WEBSOCKET_API" : " wss://localhost/computations" ,
3- "IS_STUDENT" : false
3+ "IS_STUDENT" : false ,
4+ "ITK_PATH" : " js/itk"
45}
Original file line number Diff line number Diff line change @@ -90,16 +90,13 @@ export default {
9090 console .log (Object .keys (this .$store .state .jsonTemplate ).length === 0 )
9191 console .log (this .$store .state .jsonTemplate )
9292 if (data !== " {{ data }}" && Object .keys (this .$store .state .jsonTemplate ).length === 0 ) {
93- console .log (" 1" )
9493 this .json = JSON .parse (base64url .decode (data));
9594 // store token in Vuex store
9695 this .$store .commit (" updateToken" , appDiv .getAttribute (" data-token" ));
9796 } else if (Object .keys (this .$store .state .jsonTemplate ).length > 0 ) {
98- console .log (" 2" )
9997 this .json = this .$store .state .jsonTemplate ;
10098 this .token = this .$store .state .token ;
10199 } else {
102- console .log (3 )
103100 this .json = {};
104101 this .token = " " ;
105102 }
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ export default {
435435 beforeCreate () {
436436 // TODO: Is there a better solution for this?
437437 // before creation change the path of the itk modules such that they can be moved to the dist/js-folder upon build
438- itkConfig .itkModulesPath = " js/itk " // "../static/js/vue" ;
438+ itkConfig .itkModulesPath = this . $config . ITK_PATH ;
439439 }
440440};
441441 </script >
Original file line number Diff line number Diff line change 3737 }
3838 ],
3939 "configuration" :
40- { "resources.image" : " name://example_snakemake " ,
40+ { "resources.image" : " name://example_bash " ,
4141 "resources.volume" : " /my_simulation" ,
4242 "resources.memory" : " 1g" ,
4343 "resources.numCPUs" : 1 ,
You can’t perform that action at this time.
0 commit comments