Skip to content
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

Merged
merged 2 commits into from
May 13, 2024
Merged

DOI Link Update Check #288

merged 2 commits into from
May 13, 2024

Conversation

binni979
Copy link
Contributor

@binni979 binni979 commented May 7, 2024

This is the pull request to solve this issue.

Overview:
In the pyQuarc, while running the collection, it showed the error like this:
Screenshot 2024-05-06 at 9 37 21 PM

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.

Screenshot 2024-05-06 at 9 42 26 PM

@binni979 binni979 marked this pull request as ready for review May 7, 2024 02:43
@binni979 binni979 requested review from xhagrg and slesaad May 7, 2024 02:44
@binni979 binni979 self-assigned this May 7, 2024
pyQuARC/main.py Outdated
@@ -188,6 +188,8 @@ def validate(self):

@staticmethod
def _error_message(messages):
if messages is None:
Copy link
Member

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

Copy link
Member

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,

return {"valid": validity, "Value": value}
, there's a typo. it should be value (lowercase v) instead of Value

Copy link
Contributor Author

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.

@slesaad
Copy link
Member

slesaad commented May 13, 2024

tested? everything working well?

@binni979
Copy link
Contributor Author

tested? everything working well?

I tested it on the "echo-c record (C1411142649-LARC)", and everything is working well.

@slesaad slesaad merged commit 7c3683d into dev May 13, 2024
1 check passed
@slesaad slesaad mentioned this pull request Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants