Skip to content

Some fixes for species search - #9

Open
chrab wants to merge 3 commits into
VAMDC:mainfrom
chrab:species_search
Open

Some fixes for species search#9
chrab wants to merge 3 commits into
VAMDC:mainfrom
chrab:species_search

Conversation

@chrab

@chrab chrab commented Jul 31, 2026

Copy link
Copy Markdown

When using getSpeciesWithSearchCriteria with text_search and trying to find e.g., HCO+, the routine did not return any results; it just threw some pandas Exception.

The main reason was that the HTTP request parameters were not encoded, so the + was not correctly interpreted.

Also, in case the routine does not find anything (but otherwise things are okay), it now returns None, instead of throwing some pandas Exception.

chrab added 3 commits July 31, 2026 08:35
@chrab

chrab commented Jul 31, 2026

Copy link
Copy Markdown
Author

Hello Guys,

Thanks for developing this useful package. I used the package's species search and found some bugs, I guess.
I could fix it, so I thought I would share my code changes.

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.

1 participant