You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See my commands to try to delete all genes/transcript features for
>>> connection.organisms.delete_features(40)
{'error': 'problem removing organism features for organism: java.lang.Exception: Can not find organism for null to remove features of'}
>>> connection.organisms.delete_features('40')
{'error': 'problem removing organism features for organism: java.lang.Exception: Can not find organism for null to remove features of'}
>>> connection.organisms.delete_features("unit_test_organism")
{'error': 'problem removing organism features for organism: java.lang.Exception: Can not find organism for null to remove features of'}
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: