-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First draft of CLI implementation passed
The code must be ran in the folder where the cli code is created. The input nifti must be present in this folder. There are important things to analyze here regarding saving the files.
- Loading branch information
Showing
5 changed files
with
101 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
click | ||
pandas | ||
nibabel | ||
nilearn | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,34 @@ | ||
from setuptools import find_packages, setup | ||
from os import path | ||
|
||
# Get directory where this current file is saved | ||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(here, "README.rst"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="functions", | ||
packages=find_packages(), | ||
name="tissue-to-MRproperty", | ||
description = "Code that creates a volume from a segmented Nifti file to a selected MR property", | ||
long_description = long_description, | ||
keywords='', | ||
entry_points = { | ||
'console_scripts': [ | ||
"tissue_to_MR = tissue-to-MRproperty.cli.tissue_to_mr:converter" | ||
] | ||
}, | ||
packages=find_packages(exclude=["docs"]), | ||
install_requires=[ | ||
"click", | ||
"pandas", | ||
"nibabel", | ||
"nilearn", | ||
"numpy", | ||
"matplotlib", | ||
"ipykernel", | ||
"ipython", | ||
"treelib", | ||
"pytest", | ||
"jupyterlab" | ||
] | ||
) |