Skip to content

Commit

Permalink
Build param dict before creating entrypoint
Browse files Browse the repository at this point in the history
Fixes #17438.
  • Loading branch information
mvdbeek committed Feb 10, 2024
1 parent 8809779 commit 3aa8442
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/galaxy/jobs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1249,9 +1249,6 @@ def get_special():

tool_evaluator = self._get_tool_evaluator(job)
compute_environment = compute_environment or self.default_compute_environment(job)
if hasattr(self.app, "interactivetool_manager"):
self.interactivetools = tool_evaluator.populate_interactivetools()
self.app.interactivetool_manager.create_interactivetool(job, self.tool, self.interactivetools)
tool_evaluator.set_compute_environment(compute_environment, get_special=get_special)
(
self.command_line,
Expand All @@ -1260,6 +1257,9 @@ def get_special():
self.environment_variables,
) = tool_evaluator.build()
job.command_line = self.command_line
if hasattr(self.app, "interactivetool_manager"):
self.interactivetools = tool_evaluator.populate_interactivetools()
self.app.interactivetool_manager.create_interactivetool(job, self.tool, self.interactivetools)

# Ensure galaxy_lib_dir is set in case there are any later chdirs
self.galaxy_lib_dir # noqa: B018
Expand Down

0 comments on commit 3aa8442

Please sign in to comment.