Skip to content

Commit

Permalink
rename package amypad-core => miutil
Browse files Browse the repository at this point in the history
- fixes #2
  • Loading branch information
casperdcl committed Oct 30, 2020
1 parent 69d58cc commit f77df33
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 19 deletions.
29 changes: 16 additions & 13 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
AMYPAD Core
===========
miutil
======

Medical imaging utilities.

|Versions| |Py-Versions| |Tests| |LICENCE|

Basic functionality needed for `AMYPAD <https://github.com/AMYPAD/AMYPAD>`_.
Basic functionality needed for `AMYPAD <https://github.com/AMYPAD/AMYPAD>`_
and `NiftyPET <https://github.com/NiftyPET/NiftyPET>`_.


Install
-------

Intended for inclusion in requirements for other packages.
The package name is ``amypad-core``. Options include:
The package name is ``miutil``. Options include:

- nii

To install options and their dependencies,
use the package name ``amypad-core[option1,option2]``.
use the package name ``miutil[option1,option2]``.


.. |Tests| image:: https://img.shields.io/github/workflow/status/AMYPAD/amypad-core/Test
:target: https://github.com/AMYPAD/amypad-core/actions
.. |Versions| image:: https://img.shields.io/pypi/v/amypad-core.svg
:target: https://github.com/AMYPAD/amypad-core/releases
.. |Py-Versions| image:: https://img.shields.io/pypi/pyversions/amypad-core.svg?logo=python&logoColor=white
:target: https://pypi.org/project/amypad-core
.. |LICENCE| image:: https://img.shields.io/pypi/l/amypad-core.svg
:target: https://raw.githubusercontent.com/AMYPAD/amypad-core/master/LICENCE.md
.. |Tests| image:: https://img.shields.io/github/workflow/status/AMYPAD/miutil/Test
:target: https://github.com/AMYPAD/miutil/actions
.. |Versions| image:: https://img.shields.io/pypi/v/miutil.svg
:target: https://github.com/AMYPAD/miutil/releases
.. |Py-Versions| image:: https://img.shields.io/pypi/pyversions/miutil.svg?logo=python&logoColor=white
:target: https://pypi.org/project/miutil
.. |LICENCE| image:: https://img.shields.io/pypi/l/miutil.svg
:target: https://raw.githubusercontent.com/AMYPAD/miutil/master/LICENCE.md
1 change: 0 additions & 1 deletion amypad/__init__.py

This file was deleted.

1 change: 1 addition & 0 deletions miutil/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from .fdio import * # NOQA
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion amypad/imio/nii.py → miutil/imio/nii.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import nibabel as nib
import numpy as np

from ..utils import create_dir
from ..fdio import create_dir

RE_NII_GZ = re.compile(r"^(.+)(\.nii(?:\.gz)?)$", flags=re.I)
RE_GZ = re.compile(r"^(.+)(\.gz)$", flags=re.I)
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[metadata]
name = amypad-core
version = 0.0.3
description = Core utilities for the AMYPAD project
name = miutil
version = 0.0.4
description = Medical imaging utilities for the AMYPAD and NiftyPET projects
long_description = file: README.rst
license = Apache 2.0
url = https://github.com/AMYPAD/amypad-core
url = https://github.com/AMYPAD/miutil
maintainer = Casper da Costa-Luis
maintainer_email = casper.dcl@physics.org
keywords = fMRI, PET, SPECT, EEG, MEG
Expand Down

0 comments on commit f77df33

Please sign in to comment.