-
Notifications
You must be signed in to change notification settings - Fork 19
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
ERROR: type Response has no field data #31
Comments
I can reproduce on julia 1.4. Offending section of the docs is here. If you look at the type of
It looks like you can get similar information by using instead
I'm afraid that's the end of my ability to debug, but the short version is I don't think this is a problem with BioServices code, it seems to be an issue with EzMXL (and maybe not a bug, just I don't know the right way to do the parsing). Definitely a documentation issue here though - once we get this sorted, it would be a great opportunity for a PR :-) |
Ah, I should've responded earlier! I found the solution, it is done the right way in the tests, the problem was that the documentation was not updated. Correct way is to use
I will make a PR for the docs when I get a chance. |
That's great, thanks! We should really get doctests set up too to avoid things like this (not saying you need to worry about that for your PR 😆 ). What's the difference between |
|
Just an update to say that I added some additional comments about
|
Just ran into this issue. :-) |
I am trying to use EUtils to query NCBI's Entrez databases. When I run the example in the documentation, it does not produce the expected behavior:
Expected Behavior
Expected behavior is for
parsexml
to work and provide me with an object I can extract specific fields from.Current Behavior
Instead, I get:
Steps to Reproduce (for bugs)
Context
I want to be able to extract a specific field from querying an Entrez database (in my case IDs from the IdList of an SRA query).
Your Environment
The text was updated successfully, but these errors were encountered: