Changing the database in lisp expression
I'm using sendQueryToPTools
in PythonCyc in order to be able to use lisp expressions.
I can get the class of a pathway
pythoncyc.sendQueryToPTools("(get-instance-direct-types '|GLYSYN-PWY|)")
But this is not working for all pathways
pythoncyc.sendQueryToPTools("(get-instance-direct-types '|PWY-6120|)")
PToolsError: An internal error occurred in the running Pathway Tools application: :error Object "PWY-6120" is not coercible to a frame for KB ECOBASE
I assume it is caused by the database (ECOBASE). How can switch to METACYC?
PS.: I tried pythoncyc.select_organism('meta')
but it is returning a pdgb object and seems to have no influence on the lisp query.