-
Notifications
You must be signed in to change notification settings - Fork 1
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
DOI Link Update Check #288
Conversation
pyQuARC/main.py
Outdated
@@ -188,6 +188,8 @@ def validate(self): | |||
|
|||
@staticmethod | |||
def _error_message(messages): | |||
if messages is None: |
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.
why is messages
None in the first place? did we check if there was some other issue that's causing "messages" to be None? That should be the first thing you check instead of putting a bandaid here
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 see what the problem is:
In this line,
pyQuARC/pyQuARC/code/url_validator.py
Line 118 in d8c6b5c
return {"valid": validity, "Value": value} |
value
(lowercase v) instead of Value
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.
okay, thanks. I will look into that.
tested? everything working well? |
I tested it on the "echo-c record (C1411142649-LARC)", and everything is working well. |
This is the pull request to solve this issue.
Overview:
In the pyQuarc, while running the collection, it showed the error like this:
Changes made:
Added an if condition to the
_error_message
function.Now, above error is not shown.
Tested on echo-c record (C1411142649-LARC) to make sure if it stops quitting the pyQuARC.