Skip to main content

An OMERO webapp to follow microscope performance over time

Project description

GitHub Actions Workflow Status GitHub License

omero-metrics logo

This project is financed by France BioImaging.

FBI logo

An OMERO webapp to follow microscope performance over time.

The following instructions are for Linux. Instructions for other OSs will be added soon.

Installation on your OMERO-web server instance

To be completed

Try omero-metrics using docker

Install docker and docker-compose on your computer following the instructions on the docker website.

Clone the repository:

git clone https://github.com/MontpellierRessourcesImagerie/omero-metrics.git
cd omero-metrics

Run the following command to start the server:

docker compose up -d

Wait for the server to start and then go to http://localhost:5080/ in your server.

Before trying anything, you need to generate users, and import some data, etc. If you wish, you can do that automatically. To do so you need to install the python environment and run a script that will generate some data for you.

python -m venv my_venv
source my_venv/bin/activate
pip install -e .
cd test/omero-server
python structure_generator.py

Go to http://localhost:5080/ and log in with the following credentials:

  • Username: Asterix
  • Password: abc123

Installation for development

Here we explain how to install omero-metrics using an OMERO-web server running locally. The main advantage is that you may edit the code and debug very easily.

Pre-requirements

You need to make sure that Python (version 3.9, 3.10 or 3.11) is installed in your computer.

Configuration

Clone the repository and create a virtual environment to run your server in

git clone https://github.com/MontpellierRessourcesImagerie/omero-metrics.git
cd omero-metrics
python -m venv my_venv
source my_venv/bin/activate
pip install -e .

We created a little bash script that is configuring the setup. You can run it by typing:

./configuration_omero.sh /path/to/omeroweb /path/to/mydatabase

where /path/to/omeroweb is the path to the OMERO-web directory and /path/to/mydatabase is the path to the omero_metrics sqlite database.

export REACT_VERSION=18.2.0
export OMERODIR=$(pwd)
omero config set omero.web.server_list '[["localhost", 6064, "omero_server"]]'
omero web start

Some Useful Links To Download ZeroC-Ice

#zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-macos-universal2/releases/download/20240131/zeroc_ice-3.6.5-cp311-cp311-macosx_11_0_universal2.whl
#zeroc-ice @ https://github.com/glencoesoftware/zeroc-ice-py-linux-x86_64/releases/download/20240202/zeroc_ice-3.6.5-cp311-cp311-manylinux_2_28_x86_64.whl

Further Info

  1. This app was derived from cookiecutter-omero-webapp.
  2. For further info on deployment, see Deployment

License

This project, similar to many Open Microscopy Environment (OME) projects, is licensed under the terms of the AGPL v3.

Copyright

2024 CNRS

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_metrics-0.2.3.tar.gz (267.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omero_metrics-0.2.3-py3-none-any.whl (287.3 kB view details)

Uploaded Python 3

File details

Details for the file omero_metrics-0.2.3.tar.gz.

File metadata

  • Download URL: omero_metrics-0.2.3.tar.gz
  • Upload date:
  • Size: 267.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.17 Linux/6.14.6-200.fc41.x86_64

File hashes

Hashes for omero_metrics-0.2.3.tar.gz
Algorithm Hash digest
SHA256 a10efa1f435a207a4a800ba9f8d376649e922c3e874583a1a4ad6610511e13d4
MD5 16a310f979044b34859dddf5ee911d11
BLAKE2b-256 2d3c94ac57b681c199d204f8c44b50d91fe5a7f0bf572c1c7dab32c4bf7ab2a8

See more details on using hashes here.

File details

Details for the file omero_metrics-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: omero_metrics-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 287.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.10.17 Linux/6.14.6-200.fc41.x86_64

File hashes

Hashes for omero_metrics-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3344c07048b94bbd5e02e97a07633e4581318d25a36ac360e9fe5f6f92211620
MD5 e0271bcab1dea00926755462ec90b9f0
BLAKE2b-256 7a12505908dfce35119d0e5c637cb89338851fbe481b231b7d58acd322a14d2e

See more details on using hashes here.

Supported by

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