Giter Club home page Giter Club logo

afids-utils's Introduction

Anatomical Fiducials (AFIDs) Utility Tools

GitHub release version License: MIT CodeCov Tests Documentation Status

The afids-utils package provides common utilities for projects involving anatomical fiducials (AFIDs). For a comprehensive list of available utilities refer to the documentation page.

Installation

afids-utils can be installed using pip:

pip install afids-utils

To also include plotting functionality (this will install matplotlib, plotly, and nilearn):

pip install afids-utils[plotting]

Contributing

afids-utils is an open-source project and contributions are welcome! If you have any bug reports, feature requests, or improvement suggestions, please submit them to the issues page.

To contribute, first click the "fork" button to create your own copy of the repository and then clone the project to your local machine:

git clone https://github.com/your-username/afids-utils.git

Navigate to the location where the directory was cloned and add the upstream repository:

cd afids-utils

git remote add upstream https://github.com/afids/afids-utils.git

Now, git remote -v will show two remote repositories:

  • upstream, referring to the afids repository
  • origin, your personal fork

To the pull the latest changes from the code:

git checkout main
git pull upstream main

To develop and push your contribution to your copy of the repository:

git checkout -b contribution-name
git push origin contribution-name

Once pushed, a pull request can be opened, at which point the contribution will be reviewed by a maintainer of the afids-utils repository.

Poetry

afids-utils depedencies are managed with Poetry - please refer to the Poetry website for installation instructions. Following the installation of Poetry, the development environment can be set up from the local repository location by running the following commands:

poetry install --with dev --all-extras

Poetry uses poethepoet as a task runner. You can see what commands are available by running:

poetry run poe

Tests are performed with pytest and can be run via:

poetry run poe test

Additionally, afids-utils makes use of a number of libraries to lint and format code, which can be invoked by running the following:

poetry run poe setup

This sets up a pre-commit hook, which runs the necessary checks every time a commit is performed. Alternatively, if you don't wish to use the pre-commit hook, you can run the following manually, which performs the same checks:

poetry run poe quality

Please ensure these all pass before making a pull request.

afids-utils's People

Contributors

kaitj avatar github-actions[bot] avatar tkkuehn avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.