-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EVA-3635 - Fixes from Testing #53
Conversation
# Validation is mandatory so if submit is requested then VALIDATE must have run before or be requested as well | ||
if SUBMIT in tasks: | ||
if not sub_config.get(READY_FOR_SUBMISSION_TO_EVA, False): | ||
return True | ||
submission_id = sub_config.get(SUB_CLI_CONFIG_KEY_SUBMISSION_ID, None) | ||
if submission_id: | ||
try: | ||
submission_status = SubmissionWSClient().get_submission_status(submission_id) | ||
submission_status = SubmissionWSClient(username, password).get_submission_status(submission_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passing the username and password is required because the auth
is a global variable and subsequent call will not have the username/password if it is initially created without them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember, did you check whether it worked without the global auth?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did try briefly and it didn't work first time so didn't push it since it wasn't pat of this ticket
Raise if metadata spreadsheet is not provided Remove requirement for VCF file type since it has been removed from the metadata Output logs for main nextflow steps to help debug Add debug option to main CLI Lower some docker validator log message to debug
e6bb427
to
bafae45
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just tiny comments, overall looks good!
# Validation is mandatory so if submit is requested then VALIDATE must have run before or be requested as well | ||
if SUBMIT in tasks: | ||
if not sub_config.get(READY_FOR_SUBMISSION_TO_EVA, False): | ||
return True | ||
submission_id = sub_config.get(SUB_CLI_CONFIG_KEY_SUBMISSION_ID, None) | ||
if submission_id: | ||
try: | ||
submission_status = SubmissionWSClient().get_submission_status(submission_id) | ||
submission_status = SubmissionWSClient(username, password).get_submission_status(submission_id) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't remember, did you check whether it worked without the global auth?
Co-authored-by: April Shen <april.tuesday@gmail.com>
Ensure all relative path are made into full path
Raise if metadata spreadsheet is not provided
Remove requirement for VCF file type since it has been removed from the metadata Output logs for main nextflow steps to help debug
Add debug option to main CLI
Lower some docker validator log message to debug