Skip to content

Commit

Permalink
Merge pull request #57 from usegalaxy-eu/bedroesb-patch-1
Browse files Browse the repository at this point in the history
Hotfix for release/cancel to not require files
  • Loading branch information
bedroesb authored Jan 13, 2022
2 parents 57229fe + 5bcc6b0 commit 7081448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ena_upload/ena_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def process_args():
parser.error(msg)

# check if data is given when adding a 'run' table
if (not args.no_data_upload and args.run) or (not args.no_data_upload and args.xlsx):
if (not args.no_data_upload and args.run and args.action not in ['release','cancel']) or (not args.no_data_upload and args.xlsx and args.action not in ['release','cancel']):
if args.data is None:
parser.error('Oops, requires data for submitting RUN object')

Expand Down

0 comments on commit 7081448

Please sign in to comment.