Tools to plan and execute MRI-guided targeting experiments
Project description
aind-mri-targeting
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 |
|
feat(pencil): add 'graphiteWidth' option |
|
perf(pencil): remove graphiteWidth optionBREAKING CHANGE: The graphiteWidth option has been removed.The default graphite width of 10mm is always used for performance reasons. |
(Note that the BREAKING CHANGE: token must be in the footer of the commit) |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aind_mri_targeting-0.1.6.tar.gz.
File metadata
- Download URL: aind_mri_targeting-0.1.6.tar.gz
- Upload date:
- Size: 294.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5c3d78fa880c4dbb0264b70d2bc13256370d4bdfe52536a27f08a2c8ea625d1
|
|
| MD5 |
547d1bbe2a06d2e6ee11af0e6778f972
|
|
| BLAKE2b-256 |
81a1a23647ee7bdfa5b46aa26353c75a75a4a49d5d1b8d5ccf269e33f84db14d
|
File details
Details for the file aind_mri_targeting-0.1.6-py3-none-any.whl.
File metadata
- Download URL: aind_mri_targeting-0.1.6-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f55bef0ce557fea42b20023a077a9004dbcc8525ba3f48d2f91381c03b61a93
|
|
| MD5 |
1538ba95246eec8e79ac30ae1067acc4
|
|
| BLAKE2b-256 |
4e2298555d000ceb010725f427111e32954f44ef19100364e063525857979b34
|