Skip to content

Commit

Permalink
Drop unnecessary getsize guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek committed Sep 12, 2023
1 parent fc2ff10 commit 3b16a93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/metadata/set_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def set_meta(new_dataset_instance, file_dict):
if not object_store or not export_store:
# Can't happen, but type system doesn't know
raise Exception("object_store not built")
if not is_deferred and not link_data_only and os.path.getsize(external_filename):
if not is_deferred and not link_data_only:
# Here we might be updating a disk based objectstore when outputs_to_working_directory is used,
# or a remote object store from its cache path.
object_store_update_actions.append(
Expand Down

0 comments on commit 3b16a93

Please sign in to comment.