Skip to content

Commit

Permalink
Updated project files
Browse files Browse the repository at this point in the history
  • Loading branch information
Arman committed Sep 25, 2024
1 parent 9a1433b commit 9fe79f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ apptainer exec docker://fnndsc/pl-images-register images_register --help

## Examples

`images_register` requires two positional arguments: a directory containing
input data, and a directory where to create output data.
First, create the input directory and move input data into it.
`images_register` requires two positional arguments: a directory containing input images, i.e.
a fixed_image and a moving_image, and a directory where to create output data, i.e. registered_image and
transform_matrix. First, create the input directory and move input data into it.

```shell
mkdir incoming/ outgoing/
mv some.dat other.dat incoming/
apptainer exec docker://fnndsc/pl-images-register:latest images_register [--args] incoming/ outgoing/
mkdir incoming outgoing
mv fixed_image.nii.gz moving_image.nii.gz incoming
apptainer exec docker://fnndsc/pl-images-register:latest images_register [--args] incoming outgoing
```

## Development

Instructions for developers.
The registration algorithms are found in images_register.py module.

### Building

Expand Down
2 changes: 1 addition & 1 deletion images_register.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from chris_plugin import chris_plugin

# Version:
__version__ = '1.0.1'
# __version__ = '1.0.1'

# ---------------------------------------------- ARGUMENT PARSING -----------------------------------------------------

Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"""

# ----------------------------------------------- ENVIRONMENT SETUP ---------------------------------------------------
# Global variables:
VERSION='1.0.0' # <-------------------------- SET VERSION HERE

# Project imports:


Expand Down Expand Up @@ -60,7 +63,7 @@ def parse_requirements(file_path):
setup(
name='images-register',
# version=get_version('images_register.py'),
version='1.0.0',
version=VERSION,
description='A ChRIS plugin to do multiple image registration',
author='FNNDSC',
author_email='[email protected]',
Expand Down

0 comments on commit 9fe79f8

Please sign in to comment.