Skip to main content

OMERO figure creation app

Project description

https://travis-ci.org/ome/omero-figure.svg?branch=master https://badge.fury.io/py/omero-figure.svg

OMERO.figure

OMERO.web app for creating figures from images in OMERO.

For full details see http://figure.openmicroscopy.org

Requirements

  • OMERO 4.4.x or OMERO 5.x

Installation

Please see instructions at http://figure.openmicroscopy.org

Development

We use Grunt for various tools. See http://figure.openmicroscopy.org/2014/05/01/testing-with-jshint-jasmine-grunt.html for an introduction.

Install Node from https://nodejs.org, then:

$ cd figure
$ npm install

Install Grunt CLI as described on http://gruntjs.com/using-the-cli.

To compile jst templates:

$ grunt jst

To concatenate js files into a single figure.js file that is used in the app:

$ grunt concat

During development, you’ll want to have both of these run whenever the relevant files are edited. This can be achieved with:

$ grunt watch

To update the demo figure app at http://figure.openmicroscopy.org/demo/ we have a grunt task that concats and moves js files into demo/. It also replaces Django template tags in index.html and various js code fragments with static app code. This is all handled by the grunt task:

$ grunt demo

This puts everything into the figure/demo/ directory. This can be tested locally via:

$ cd demo/
$ python -m SimpleHTTPServer

Go to http://localhost:8000/ to test it. To update the figure.openmicroscopy.org site:

It is also possible to run the demo in docker without installing anything locally:

$ docker build -t figure-demo .
$ docker run -ti --rm -p 8000:8000 figure-demo

If you are using docker-machine (e.g. on Mac OS X or Windows), you can find the URL of your demo with:

# get the ip address of your docker machine (named default)
$ docker-machine ip default
192.168.99.100
# Now check the result in your browser at:
http://192.168.99.100:8000/

License

OMERO.figure is released under the AGPL.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omero-figure-2.0.0.tar.gz (732.7 kB view details)

Uploaded Source

File details

Details for the file omero-figure-2.0.0.tar.gz.

File metadata

File hashes

Hashes for omero-figure-2.0.0.tar.gz
Algorithm Hash digest
SHA256 3afcd72e4144b88b9b1d10adf70f57e7f0d690ce72cb89b75d642f5ef8c4b37d
MD5 fe61e9bc4dcdce6ec9a798d36b3d6a46
BLAKE2b-256 858150db7d2d051504061eb8b79b45a2a6d50e34c829ea85d226442dd9196f00

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page