Skip to content

Commit

Permalink
debuged meants and updatd version number
Browse files Browse the repository at this point in the history
  • Loading branch information
edickie committed Oct 18, 2017
1 parent 446f9d3 commit 0f68514
Show file tree
Hide file tree
Showing 5 changed files with 518 additions and 1,892 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ them installed. If you don't want to use either of these tools, skip to the

To install with pip, type the following in a terminal.
```sh
pip install https://github.com/edickie/ciftify/archive/v1.0.0.tar.gz
pip install https://github.com/edickie/ciftify/archive/v1.0.1.tar.gz
```

### Manual installation
Expand All @@ -50,7 +50,7 @@ export HCP_DATA=/path/to/hcp/subjects/data/
```

To check if ciftify is correctly configured, open a new terminal and type in a
ciftify command (like ciftify_vol_result).
ciftify command (like ciftify_vol_result).
```sh
ciftify_vol_result --help
```
Expand Down
4 changes: 3 additions & 1 deletion ciftify/meants.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def determine_filetype(self, path):
Returns two values: a string for the filetype, and the basename of the file
without its extension
'''
logger = logging.getLogger(__name__)
MRbase = os.path.basename(path)
if MRbase.endswith(".nii"):
if MRbase.endswith(".dtseries.nii"):
Expand All @@ -46,7 +47,8 @@ def determine_filetype(self, path):
for ext_type in gifti_types:
MRbase = MRbase.replace(ext_type, "")
else:
raise TypeError("{} is not a nifti or gifti file type".format(filename))
logger.error("{} is not a nifti or gifti file type".format(path))
sys.exit(1)

return(MR_type, MRbase)

Expand Down
4 changes: 2 additions & 2 deletions meta.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package:
name: ciftify
version: "1.0.0"
version: "1.0.1"

source:
git_rev: "v1.0.0"
git_rev: "v1.0.1"
git_url: https://github.com/edickie/ciftify.git

build:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

setup(
name='ciftify',
version='1.0.0',
version='1.0.1',
description='The tools of the Human Connectome Project (HCP) '\
'adapted for working with non-HCP datasets',
long_description=long_description,
Expand Down
Loading

0 comments on commit 0f68514

Please sign in to comment.