diff --git a/tpv/commands/dryrunner.py b/tpv/commands/dryrunner.py index 5e6b07f..111bf04 100644 --- a/tpv/commands/dryrunner.py +++ b/tpv/commands/dryrunner.py @@ -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