Skip to content

Commit

Permalink
Hide conditionally skipped outputs
Browse files Browse the repository at this point in the history
I think that's a little less confusing and a bit cleaner.
  • Loading branch information
mvdbeek committed Jul 1, 2023
1 parent 1c4eb70 commit c7a2af1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/galaxy/tools/actions/__init__.py
Expand Up @@ -663,11 +663,15 @@ def handle_output(name, output, hidden=None):
job.state = job.states.SKIPPED
for output_collection in output_collections.out_collections.values():
output_collection.mark_as_populated()
for hdca in output_collections.out_collection_instances.values():
hdca.visible = False
object_store_populator = ObjectStorePopulator(trans.app, trans.user)
for data in out_data.values():
object_store_populator.set_object_store_id(data)
data.extension = "expression.json"
data.state = "ok"
data.blurb = "skipped"
data.visible = False
with open(data.dataset.file_name, "w") as out:
out.write(json.dumps(None))
job.preferred_object_store_id = preferred_object_store_id
Expand Down

0 comments on commit c7a2af1

Please sign in to comment.