Skip to main content

Tools to plan and execute MRI-guided targeting experiments

Project description

aind-mri-targeting

CI PyPI - Version semantic-release: angular License ruff uv

Installation

If you choose to clone the repository, you can install the package by running the following command from the root directory of the repository:

pip install .

Otherwise, you can use pip:

pip install contraqctor

To install notebooks, run

install_notebooks [path]

To develop the code, run

pip install -e .[dev]

Contributing

Contributions to this repository are welcome! However, please ensure that your code adheres to the recommended DevOps practices below:

Linting

We use ruff as our primary linting tool.

Testing

Attempt to add tests when new features are added. To run the currently available tests, run uv run pytest from the root of the repository.

Lock files

We use uv to manage our lock files and therefore encourage everyone to use uv as a package manager as well. P

Pull requests

For internal members, please create a branch. For external members, please fork the repository and open a pull request from the fork. We'll primarily use conventional commits style for commit messages. Roughly, they should follow the pattern:

<type>(<scope>): <short summary>

where scope (optional) describes the packages affected by the code changes and type (mandatory) is one of:

  • build: Changes that affect build tools or external dependencies (example scopes: pyproject.toml, setup.py)
  • ci: Changes to our CI configuration files and scripts (examples: .github/workflows/ci.yml)
  • docs: Documentation only changes
  • feat: A new feature
  • fix: A bugfix
  • perf: A code change that improves performance
  • refactor: A code change that neither fixes a bug nor adds a feature
  • test: Adding missing tests or correcting existing tests

Semantic Release

The table below, from semantic release, shows which commit message gets you which release type when semantic-release runs (using the default configuration):

Commit message Release type
fix(pencil): stop graphite breaking when too much pressure applied Patch Fix Release, Default release
feat(pencil): add 'graphiteWidth' option Minor Feature Release
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed.
The default graphite width of 10mm is always used for performance reasons.
Major Breaking Release
(Note that the BREAKING CHANGE: token must be in the footer of the commit)

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

aind_mri_targeting-0.1.5.tar.gz (269.1 kB view details)

Uploaded Source

Built Distribution

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

aind_mri_targeting-0.1.5-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file aind_mri_targeting-0.1.5.tar.gz.

File metadata

  • Download URL: aind_mri_targeting-0.1.5.tar.gz
  • Upload date:
  • Size: 269.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.1

File hashes

Hashes for aind_mri_targeting-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e783fe016980ca6804b6ce51a50755cec5e5a5ed72f11ab37320d28324f2a94c
MD5 4a3472cd0f7dc86ce6e59fc0107e1e04
BLAKE2b-256 ae768800065c07073bd9023ffb51e101e5426d28b14975b4cb72f6594a033b32

See more details on using hashes here.

File details

Details for the file aind_mri_targeting-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_mri_targeting-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 37db840ded991f687eade6d62417cdefb06b60a931b396acce53323bee85155f
MD5 5665335a6fd0bed076f57fafc4733725
BLAKE2b-256 a114ada26ccea278f2b406d2a6afb5be5c882661da70f94ce7e79d2bd73de6f8

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