-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed problems processing Mulit-Echo images #103
Open
holderg
wants to merge
2
commits into
PennLINC:master
Choose a base branch
from
brainsciencecenter:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
#flywheel/fmriprep | ||
|
||
FROM python:3.7 | ||
#FROM python:3.7 | ||
FROM python:3.10 | ||
MAINTAINER Tinashe Tapera <[email protected]> | ||
|
||
# Make directory for flywheel spec (v0) | ||
|
@@ -13,14 +14,15 @@ ENTRYPOINT ["/flywheel/v0/fw_heudiconv_run.py"] | |
|
||
# Copy over python scripts that generate the BIDS hierarchy | ||
RUN apt-get -y update && apt-get install -y curl | ||
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\ | ||
#RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\ | ||
RUN curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\ | ||
apt-get -y install nodejs &&\ | ||
ln -s /usr/bin/nodejs /usr/local/bin/node | ||
RUN curl -L https://www.npmjs.com/install.sh | sh | ||
RUN npm install -g bids-validator | ||
RUN python3 -m pip install --upgrade pip | ||
RUN pip install --no-cache nipype pathvalidate | ||
RUN pip install --no-cache flywheel-sdk~=14.6.5 | ||
RUN pip install --no-cache flywheel-sdk | ||
|
||
COPY . /src | ||
|
||
|
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,43 +1,63 @@ | ||
{ | ||
"name": "fw-heudiconv", | ||
"label": "Flywheel HeuDiConv", | ||
"description": "HeuDiConv-style BIDS curation on Flywheel. Flywheel HeuDiConv (or fw-heudiconv, pronounced /fwuː di kɑː n(v)/) is a Python-based toolkit that leverages the flexibility and comprehensiveness of HeuDiConv to curate neuroimaging data on Flywheel into a BIDS-valid format.", | ||
"version": "0.2.15_0.4.3", | ||
"inputs": { | ||
"api_key": { | ||
"base": "api-key" | ||
}, | ||
"heuristic": { | ||
"base": "file", | ||
"description": "Python file implementing a heudiconv heuristic", | ||
"optional": true | ||
} | ||
}, | ||
"config": { | ||
"action": { | ||
"default": "Curate", | ||
"description": "Curate: Apply heuristic to project. Export: Create zip of BIDS tree. Tabulate: Create a table of sequence information in a project. Clear: Clear BIDS data from project. Reproin Check: Apply the reproin heuristic to a list of reproin names to check for validity. Meta: Autogenerate BIDS metadata for project.", | ||
"type": "string", | ||
"enum": ["Curate", "Export", "Tabulate", "Clear", "Reproin", "Validate"] | ||
}, | ||
"dry_run": { | ||
"default": true, | ||
"description": "Run without applying changes", | ||
"type": "boolean" | ||
} | ||
}, | ||
"command": "./fw_heudiconv_run.py", | ||
"author": "Tinashe Michael Tapera", | ||
"maintainer": "Tinashe Michael Tapera", | ||
"cite": "", | ||
"license": "Other", | ||
"source": "", | ||
"url": "https://github.com/PennBBL/fw-heudiconv", | ||
"custom": { | ||
"gear-builder": { | ||
"category": "analysis", | ||
"image": "pennbbl/fw-heudiconv:0.2.15_0.4.3" | ||
}, | ||
"flywheel":{"suite": "PennBBL"} | ||
} | ||
} | ||
"name": "dev-fw-heudiconv", | ||
"label": "Dev Flywheel HeuDiConv", | ||
"description": "HeuDiConv-style BIDS curation on Flywheel. Flywheel HeuDiConv (or fw-heudiconv, pronounced /fwu\u02d0 di k\u0251\u02d0 n(v)/) is a Python-based toolkit that leverages the flexibility and comprehensiveness of HeuDiConv to curate neuroimaging data on Flywheel into a BIDS-valid format.", | ||
"version": "0.2.15_1.0.1-dev-001", | ||
"inputs": { | ||
"api_key": { | ||
"base": "api-key" | ||
}, | ||
"heuristic": { | ||
"base": "file", | ||
"description": "Python file implementing a heudiconv heuristic", | ||
"optional": true | ||
} | ||
}, | ||
"config": { | ||
"action": { | ||
"default": "Curate", | ||
"description": "Curate: Apply heuristic to project. Export: Create zip of BIDS tree. Tabulate: Create a table of sequence information in a project. Clear: Clear BIDS data from project. Reproin Check: Apply the reproin heuristic to a list of reproin names to check for validity. Meta: Autogenerate BIDS metadata for project.", | ||
"type": "string", | ||
"enum": [ | ||
"Curate", | ||
"Export", | ||
"Tabulate", | ||
"Clear", | ||
"Reproin", | ||
"Validate" | ||
] | ||
}, | ||
"dry_run": { | ||
"default": true, | ||
"description": "Run without applying changes", | ||
"type": "boolean" | ||
} | ||
}, | ||
"command": "./fw_heudiconv_run.py", | ||
"author": "Tinashe Michael Tapera", | ||
"maintainer": "Tinashe Michael Tapera", | ||
"cite": "", | ||
"license": "Other", | ||
"source": "", | ||
"url": "https://github.com/PennBBL/fw-heudiconv", | ||
"custom": { | ||
"gear-builder": { | ||
"category": "analysis", | ||
"image": "pennbbl/fw-heudiconv:0.2.15_1.0.1-dev-001" | ||
}, | ||
"flywheel": { | ||
"suite": "PennBBL" | ||
} | ||
}, | ||
"environment": { | ||
"PATH": "/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", | ||
"LANG": "C.UTF-8", | ||
"GPG_KEY": "A035C8C19219BA821ECEA86B64E628F8D684696D", | ||
"PYTHON_VERSION": "3.10.14", | ||
"PYTHON_PIP_VERSION": "23.0.1", | ||
"PYTHON_SETUPTOOLS_VERSION": "65.5.1", | ||
"PYTHON_GET_PIP_URL": "https://github.com/pypa/get-pip/raw/dbf0c85f76fb6e1ab42aa672ffca6f0a675d9ee4/public/get-pip.py", | ||
"PYTHON_GET_PIP_SHA256": "dfe9fd5c28dc98b5ac17979a953ea550cec37ae1b47a5116007395bfacff2ab9", | ||
"FLYWHEEL": "/flywheel/v0" | ||
} | ||
} |
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 | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -29,11 +29,11 @@ fi | |||||||||||
echo Uploading to pip... | ||||||||||||
|
||||||||||||
python setup.py sdist | ||||||||||||
<<<<<<< HEAD | ||||||||||||
#<<<<<<< HEAD | ||||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
twine upload dist/* --skip-existing | ||||||||||||
======= | ||||||||||||
twine upload --skip-existing dist/* | ||||||||||||
>>>>>>> 451d0170cd190ca6cceb86def6dc51bc45a73802 | ||||||||||||
#======= | ||||||||||||
#twine upload --skip-existing dist/* | ||||||||||||
#>>>>>>> 451d0170cd190ca6cceb86def6dc51bc45a73802 | ||||||||||||
|
||||||||||||
Comment on lines
+34
to
37
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||
echo Uploading gear... | ||||||||||||
|
||||||||||||
|
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,11 +1,10 @@ | ||
flywheel-sdk ~= 14.6.5 | ||
flywheel-sdk | ||
pandas | ||
bids-validator | ||
validators | ||
sphinx-argparse | ||
commonmark | ||
pathvalidate | ||
pytest | ||
nibabel | ||
pytest-cov | ||
heudiconv |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be interested in being listed as maintainer here? Tinashe has left