A server for copick projects.
pip install .python -m copick_server.server serve --config path/to/copick_config.json --cors "*" --port 8000python -m copick_server.server serve --dataset-ids 10440 --cors "*" --port 8017You can use multiple dataset IDs by repeating the option:
python -m copick_server.server serve --dataset-ids 10440 --dataset-ids 10441 --cors "*" --port 8017With config file:
uv run copick_server/server.py serve --config ~/Data/copick/full_ml_challenge_czcdp.json --cors "*" --port 8017With dataset IDs:
uv run copick_server/server.py serve --dataset-ids 10440 --cors "*" --port 8017uv run copick_server/client.pypip install ".[test]"
pytestFor coverage report:
pytest --cov=copick_serverpython -m copick_server.server serve --help
| Option | Description | Default |
|---|---|---|
| -c, --config | Path to the configuration file | None |
| -ds, --dataset-ids | Dataset IDs to include in the project | None |
| --overlay-root | Root URL for the overlay storage | /tmp/overlay_root |
| --cors | Origin to allow CORS. Use wildcard '*' to allow all | None |
| --host | Bind socket to this host | 127.0.0.1 |
| --port | Bind socket to this port | 8000 |
| --reload | Enable auto-reload | False |
CryoLens extends copick-server to support generative models of cryo-ET particles.
The idea is influenced by https://github.com/manzt/simple-zarr-server, but aimed at supporting https://github.com/copick/copick.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@chanzuckerberg.com.
If you believe you have found a security issue, please responsibly disclose by contacting us at security@chanzuckerberg.com.