Skip to content

Commit

Permalink
Set size for null datasets
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Oct 15, 2023
1 parent 23d938f commit 7e41cce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/galaxy/tools/actions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -675,6 +675,7 @@ def handle_output(name, output, hidden=None):
data.visible = False
with open(data.dataset.file_name, "w") as out:
out.write(json.dumps(None))
data.set_total_size()
job.preferred_object_store_id = preferred_object_store_id
self._record_inputs(trans, tool, job, incoming, inp_data, inp_dataset_collections)
self._record_outputs(job, out_data, output_collections)
Expand Down

0 comments on commit 7e41cce

Please sign in to comment.