Closed NeillGibson closed 6 years ago
'organism'
instead of 'id'
.Ok thank you. I look forward to the patch.
I don't have a test server running at this minute, I hope this fixes it for you though!
Ok thank you. I will let you know if it works. Might take a few days.
I need to upgrade our pypi installed python-apollo client via github I guess?
A new tag has been pushed which should appear on pypi shortly.
Hi,
Thank you for the nice Apollo client. Most features work as expected.
I am having trouble to delete all genes/transcript features from an organism from the relational database:
See my commands to try to delete all genes/transcript features for
The code in the apollo client posts a json where a value is set for the ID field. https://github.com/galaxy-genome-annotation/python-apollo/blob/master/apollo/organisms/__init__.py#L152
The server side code seems to expect the a json where a value is set for the Organism (common name) field. https://github.com/GMOD/Apollo/blob/master/grails-app/controllers/org/bbop/apollo/OrganismController.groovy#L177
I guess this is where it might go wrong. The client and server side code don't use the same field in the json object?
Is it by the way correct that deleting an organism (using the API method deleteOrganism ) includes the deletion of all features from the relational database?
Thank you.