Skip to content

Commit

Permalink
ProTo: Fix load file to history bug
Browse files Browse the repository at this point in the history
  • Loading branch information
morj-uio authored and sveinugu committed Nov 24, 2016
1 parent d6ba035 commit 3017c96
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/proto/galaxy_tool_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ def exec_before_job( self, app, inp_data, out_data, param_dict):

for name, data in out_data.items():
if name == 'output':
ext = param_dict.get('datatype')
ext = param_dict.get('datatype', param_dict.get('format'))
if ext:
data = app.datatypes_registry.change_datatype(data, ext)
data = app.datatypes_registry.change_datatype(data, ext)
param_dict['datatype'] = ext
job_name = param_dict.get('job_name')
if job_name:
if data.name == self.name:
Expand Down

0 comments on commit 3017c96

Please sign in to comment.