Skip to content

Commit 3c1758c

Browse files
authored
Merge pull request #241 from CESNET/galaxy_env_vars_fix_in_tpv
fixes galaxy env vars templating in TPV
2 parents 99a69f8 + 36e1c17 commit 3c1758c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

templates/galaxy/config/tpv_rules_meta.yml.j2

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ tools:
77
mem: cores * 4
88
env:
99
- name: GALAXY_SLOTS
10-
value: cores
10+
value: "{int(cores)}"
1111
- name: GALAXY_MEMORY_MB
12-
value: mem * 1000
12+
value: "{int(mem) * 1000}"
1313
- name: GALAXY_MEMORY_MB_PER_SLOT
14-
value: int(mem / cores) * 1000
14+
value: "{int(mem / cores) * 1000}"
1515
context:
1616
walltime: 24
1717
scratch: 50
@@ -104,13 +104,18 @@ tools:
104104
context:
105105
walltime: 48
106106

107-
toolshed.g2.bx.psu.edu/repos/iuc/megahit/megahit/.*:
107+
.*/megahit/.*:
108108
cores: 16
109109
mem: 256
110110
context:
111111
walltime: 96
112112
scratch: 100
113113

114+
.*/hapog/.*:
115+
cores: 8
116+
context:
117+
walltime: 48
118+
114119
__SET_.*:
115120
inherits: local_running_tools
116121

@@ -129,11 +134,6 @@ tools:
129134
.*/data_manager_.*:
130135
inherits: local_sing_running_tools
131136

132-
.*/hapog/.*:
133-
cores: 8
134-
context:
135-
walltime: 48
136-
137137
roles:
138138
training.*:
139139
max_cores: 4

0 commit comments

Comments
 (0)