diff --git a/README.md b/README.md index 7bd6257..e841b0a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,12 @@ # GIAnT-Python +![Version](https://img.shields.io/badge/version-0.1.14-black) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) +![Interrogate](https://img.shields.io/badge/interrogate-100.0%25-brightgreen) +![Coverage](https://img.shields.io/badge/coverage-100%25-brightgreen) [![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE) ![Python](https://img.shields.io/badge/python->=3.10-blue?logo=python) +![support](https://img.shields.io/badge/support-supported-brightgreen) GIAnT-Python is a Python package for processing glutamate imaging data, with advanced capabilities for SLAP2 recordings. @@ -30,15 +35,19 @@ Not supported: SILo for recordings other than SLAP2 raster, standalone deconvolu ## Installation -From the repository root, with Python 3.10 or later: +If you choose to clone the repository, you can install the package by running the following command from the root directory of the repository: ```bash -pip install -e . +uv sync ``` -Installation requires Git/network access for the `slap2_utils` dependency. Interactive ROI drawing uses OpenCV and tkinter; tkinter must be available in the Python installation. Headless extraction does not need a display. - -For development setup and documentation builds, see [CONTRIBUTING.md](CONTRIBUTING.md). +## Development +Please test your changes using linting and testing: +```bash +uv run interrogate --verbose # Checks docstring coverage +uv run ruff check # Runs format checks +uv run pytest # Check tests and test coverage +``` ## Build SLAP2 trial tables @@ -489,4 +498,13 @@ For SLAP2 recordings, please also cite the microscope: **Occasional updates:** no fixed update schedule. Community involvement through issues and pull requests is welcome. -[^documentation]: Current documentation has been generated by large language models (LLMs) from human-verified code. \ No newline at end of file +[^documentation]: Current documentation has been generated by large language models (LLMs) from human-verified code. + +## License + +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. + +## Template + +Generated from [python-templates](https://github.com/AllenNeuralDynamics/python-templates) (`{{ template_type }}` @ `{{ _copier_answers._commit | default('unknown') }}`). +The template version is also recorded in `.copier-answers.yml`. To pull in template changes, run `uvx copier update`. \ No newline at end of file