Skip to content

Commit

Permalink
Add tool version to dry-run
Browse files Browse the repository at this point in the history
  • Loading branch information
cat-bro committed Apr 25, 2023
1 parent 0662486 commit c2f28b9
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tpv/commands/dryrunner.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ def from_params(job_conf, user=None, tool=None, tpv_confs=None, input_size=None)
user = None

if tool:
tool = mock_galaxy.Tool(tool)
# tool = mock_galaxy.Tool(
# tool,
# version=tool.split('/')[-1] if '/' in tool else '0._unversioned'
# )
tool = mock_galaxy.Tool(
tool,
version=tool.split('/')[-1] if '/' in tool else None
)
else:
tool = None

Expand Down

0 comments on commit c2f28b9

Please sign in to comment.