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
2
3
# workshop-snakemake-example.computation-template
3
4
# leap-year.computation-template
4
5
# case_1.computation-template
Original file line number Diff line number Diff line change 1
1
{
2
2
"WEBSOCKET_API" : " wss://localhost/computations" ,
3
- "IS_STUDENT" : false
3
+ "IS_STUDENT" : false ,
4
+ "ITK_PATH" : " js/itk"
4
5
}
Original file line number Diff line number Diff line change @@ -90,16 +90,13 @@ export default {
90
90
console .log (Object .keys (this .$store .state .jsonTemplate ).length === 0 )
91
91
console .log (this .$store .state .jsonTemplate )
92
92
if (data !== " {{ data }}" && Object .keys (this .$store .state .jsonTemplate ).length === 0 ) {
93
- console .log (" 1" )
94
93
this .json = JSON .parse (base64url .decode (data));
95
94
// store token in Vuex store
96
95
this .$store .commit (" updateToken" , appDiv .getAttribute (" data-token" ));
97
96
} else if (Object .keys (this .$store .state .jsonTemplate ).length > 0 ) {
98
- console .log (" 2" )
99
97
this .json = this .$store .state .jsonTemplate ;
100
98
this .token = this .$store .state .token ;
101
99
} else {
102
- console .log (3 )
103
100
this .json = {};
104
101
this .token = " " ;
105
102
}
Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ export default {
435
435
beforeCreate () {
436
436
// TODO: Is there a better solution for this?
437
437
// 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 ;
439
439
}
440
440
};
441
441
</script >
Original file line number Diff line number Diff line change 37
37
}
38
38
],
39
39
"configuration" :
40
- { "resources.image" : " name://example_snakemake " ,
40
+ { "resources.image" : " name://example_bash " ,
41
41
"resources.volume" : " /my_simulation" ,
42
42
"resources.memory" : " 1g" ,
43
43
"resources.numCPUs" : 1 ,
You can’t perform that action at this time.
0 commit comments