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

When retrieving Nautilus samples improve error message #52

Open
seg1129 opened this issue Jun 4, 2019 · 2 comments
Open

When retrieving Nautilus samples improve error message #52

seg1129 opened this issue Jun 4, 2019 · 2 comments
Assignees

Comments

@seg1129
Copy link
Collaborator

seg1129 commented Jun 4, 2019

when there is an error getting nautilus samples the error message in the code below should be updated to provide additional possibilities as to why there was an error.

@alexfelmeister can you provide better verbiage for this message, "Zero samples returned, validate user has access to protocol in nautilus."

return {"error": "Zero samples returned, validate user has access to protocol in nautilus."}

@seg1129 seg1129 self-assigned this Jun 4, 2019
@alexfelmeister
Copy link
Collaborator

What do you think?

WARNING: Information for Sample Kit <record_id> was not returned from the Laboratory System.
Please contact eigsupport@email.chop.edu to determine if this is one of the following issues:
-	Your Laboratory Information Management System credentials are out of date.
-	Correct access from the CHOP Biorepository Resource Center to access information about <record_id>.
-	You entered the incorrect record.
-	
The association of <patient_id> and <record_id> was recorded in the honest broker on <create_date>. When the above issue is resolved, this warning will not appear. 

@seg1129
Copy link
Collaborator Author

seg1129 commented Jun 4, 2019

Looks good to me. The only variables i'm not sure i'll be able to get is '<create_date>' and '<patient_id>'. I have to take a look to see what is being passed in from kwargs.

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

No branches or pull requests

2 participants