mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Merge pull request #12039 from bgruening/galaxy_memory
[21.01] add GALAXY_MEMORY_MB* to passt hrough
This commit is contained in:
@@ -42,7 +42,7 @@ class ToolInfo:
|
||||
|
||||
def __init__(self, container_descriptions=None, requirements=None, requires_galaxy_python_environment=False, env_pass_through=None, guest_ports=None, tool_id=None, tool_version=None, profile=-1):
|
||||
if env_pass_through is None:
|
||||
env_pass_through = ["GALAXY_SLOTS"]
|
||||
env_pass_through = ["GALAXY_SLOTS", "GALAXY_MEMORY_MB", "GALAXY_MEMORY_MB_PER_SLOT"]
|
||||
if container_descriptions is None:
|
||||
container_descriptions = []
|
||||
if requirements is None:
|
||||
|
||||
@@ -110,7 +110,8 @@ class ToolSource(metaclass=ABCMeta):
|
||||
return ["TMPDIR", "TMP", "TEMP"]
|
||||
|
||||
def parse_docker_env_pass_through(self):
|
||||
return ["GALAXY_SLOTS", "HOME", "_GALAXY_JOB_HOME_DIR", "_GALAXY_JOB_TMP_DIR"] + self.parse_tmp_directory_vars()
|
||||
return ["GALAXY_SLOTS", "GALAXY_MEMORY_MB", "GALAXY_MEMORY_MB_PER_SLOT", "HOME",
|
||||
"_GALAXY_JOB_HOME_DIR", "_GALAXY_JOB_TMP_DIR"] + self.parse_tmp_directory_vars()
|
||||
|
||||
@abstractmethod
|
||||
def parse_interpreter(self):
|
||||
|
||||
Reference in New Issue
Block a user