Skip to content

microscopepony/omero-mapr-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMERO.mapr GraphQL

An experiment in querying OMERO.mapr IDR metadata using GraphQL.

This notebook should be run in the imagedata/idr-notebooks Docker image.

Flask graphql app

Run:

flask run

and go to http://localhost:5000/graphql in a web browser. You should see a basic GraphQL IDE. Example query: { image(id: 1030631) { annotations(mapr: GENE) { name value { name value } } } } Pass -h ADDRESS or -p PORT to listen on a different interface or port.

Running tests

IDR_HOST=idr.openmicroscopy.org IDR_USER=<USER> IDR_PASSWORD=<PASSWORD> pytest

tests/test_snapshots.py makes use of SnapshotTest. Run with pytest --snapshot-verbose for more information, or pytest --snapshot-update to update the snapshots.

Releases

No releases published

Packages

No packages published