andschar / standartox

Standardising toxicity data
https://andschar.github.io/standartox
Other
13 stars 3 forks source link

Feature Request - endpoint returns value from database, not search value. #3

Open andbeck opened 1 year ago

andbeck commented 1 year ago

Thanks for this awesome tool. I've noticed that the endpoint query argument allows only 3 categories but the ECOTOX database has many more. I see the value of limiting it to 3 options for input, but can the output be the actual results from ECOTOX field? e.g. specifying XX50 seems to include data with ECOTOX endpoints of LC50, LL50, EC50 etc.

Have I understood this correctly?

This means that post-query filtering on the details under the XX50 reality is not possible because the query is returning the search term, not the search result. - thanks for considering this!

andschar commented 1 year ago

Thanks for the message and pointing me to this issue! You are right, only "my" three categories are returned. I made this quite strong simplification by design, because it worked for me. Though I see now that this is rather limiting.

Currently I am working on a new release of Standartox and it will also return the original endpoint entries. It will most likely be released before Christmas.

andbeck commented 1 year ago

super!