Skip to content

Commit b85628f

Browse files
committed
Rename pacakge to mritk
1 parent 723aa62 commit b85628f

6 files changed

Lines changed: 22 additions & 15 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Installation
66

77
```bash
8-
pip install mri-toolkit
8+
pip install mritk
99
```
1010

1111
## Documentation

docs/install.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,40 @@
55
You can install the package directly from pypi using pip:
66

77
```bash
8-
pip install mri-toolkit
8+
pip install mritk
99
```
1010

1111
Note that it is recommended to use a virtual environment when installing the package, to avoid conflicts with other packages. You can create a virtual environment using `venv`:
1212

1313
```bash
1414
python3 -m venv venv
1515
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
16-
pip install mri-toolkit
16+
pip install mritk
1717
```
1818

1919
## Installing extra dependencies
2020

21-
Some features of `mri-toolkit` require additional dependencies. You can install these extra dependencies using pip with the appropriate extras syntax.
21+
Some features of `mritk` require additional dependencies. You can install these extra dependencies using pip with the appropriate extras syntax.
2222

2323
* **The show command**: To use the `show` command for visualizing MRI data in the terminal, you need to install the `textual-image`, `pillow` and `matplotlib` packages. You can do this with the following command:
2424

2525
```bash
26-
pip install mri-toolkit[show]
26+
pip install mritk[show]
2727
```
2828

2929
* **The napari command**: To use the `napari` command for visualizing MRI data in the [Napari viewer](https://napari.org/), you need to install the `napari` package. You can do this with the following command:
3030

3131
```bash
32-
pip install mri-toolkit[napari]
32+
pip install mritk[napari]
3333
```
3434

3535
## Development Installation
3636

37-
If you want to contribute to the development of `mri-toolkit`, you can install the package in editable mode. This allows you to make changes to the source code and have them reflected immediately without needing to reinstall the package (see also the Contributing guide for more info).
37+
If you want to contribute to the development of `mritk`, you can install the package in editable mode. This allows you to make changes to the source code and have them reflected immediately without needing to reinstall the package (see also the Contributing guide for more info).
3838

3939
```bash
40-
git clone https://github.com/scientificcomputing/mri-toolkit.git
41-
cd mri-toolkit
40+
git clone https://github.com/scientificcomputing/mritk.git
41+
cd mritk
4242
python3 -m venv venv
4343
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
4444
pip install -e .
@@ -47,12 +47,12 @@ pip install -e .
4747
It is also possible the package directly from GitHub without cloning the repository:
4848

4949
```bash
50-
pip install git+https://github.com/scientificcomputing/mri-toolkit.git
50+
pip install git+https://github.com/scientificcomputing/mritk.git
5151
```
5252

5353
## Installation with pipx
5454
If you intend to use the command line interface, you may want to install the package in an isolated environment using [`pipx`](https://pipx.pypa.io/latest/). You can do this with the following command:
5555

5656
```bash
57-
pipx install mri-toolkit
57+
pipx install mritk
5858
```

docs/napari.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ The `napari` command opens the specified MRI file in the [Napari](https://napari
55

66
:::{note}
77
This command requires the optional `[napari]` dependencies and a desktop environment to display the GUI.
8+
9+
You can install these with the following command:
10+
11+
```bash
12+
pip install mritk[napari]
13+
```
14+
815
:::
916

1017
## Usage

docs/show.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
This command requires the optional `[show]` dependencies, which include `textual-image`, `pillow` and `matplotlib`. You can install these with the following command:
99

1010
```bash
11-
pip install mri-toolkit[show]
11+
pip install mritk[show]
1212
```
1313

1414
:::

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[project]
2-
name = "mri-toolkit"
2+
name = "mritk"
33
authors = [
44
{ name = "Jørgen Riseth", email = "jnriseth@gmail.com" },
55
{ name = "Henrik Finsberg", email = "henriknf@simula.no" },
@@ -51,7 +51,7 @@ docs = [
5151
"myst-parser",
5252
"sphinx-multitoc-numbering",
5353
]
54-
all = ["mri-toolkit[extra,test,pypi,show,napari]"]
54+
all = ["mritk[extra,test,pypi,show,napari]"]
5555

5656

5757
[project.urls]

src/mritk/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from . import data, segmentation, statistics
99

1010

11-
meta = metadata("mri-toolkit")
11+
meta = metadata("mritk")
1212
__version__ = meta["Version"]
1313
__author__ = meta["Author-email"]
1414
__license__ = meta["license-expression"]

0 commit comments

Comments
 (0)