-
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.
- Loading branch information
Showing
29 changed files
with
1,221 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Configuration for new-pr-welcome - https://github.com/behaviorbot/new-pr-welcome | ||
|
||
# Comment to be posted to on PRs from first time contributors in your repository | ||
newPRWelcomeComment: > | ||
Welcome, new contributor! | ||
We ask you to read through the Contributing Guide: | ||
https://github.com/nipreps/fmripost-template/blob/main/CONTRIBUTING.md | ||
These are guidelines intended to make communication easier by describing a consistent process, but | ||
don't worry if you don't get it everything exactly "right" on the first try. | ||
To boil it down, here are some highlights: | ||
1) Consider starting a conversation in the issues list before submitting a pull request. The discussion might save you a | ||
lot of time coding. | ||
2) Please use a descriptive title for your pull request. | ||
Please remember to set your pull request as a "draft" if it is not ready for review. | ||
3) Any code you submit will be licensed under the same terms (Apache License 2.0) as the rest of fMRIPost-template. | ||
4) We invite every contributor to add themselves to the `.zenodo.json` file | ||
(https://github.com/nipreps/fmripost-template/blob/main/.zenodo.json), which will result in your being listed as an author | ||
at the next release. Please add yourself as the next-to-last entry, just above Russ. | ||
A pull request is a conversation. We may ask you to make some changes before accepting your PR, | ||
and likewise, you should feel free to ask us any questions you have. |
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,6 @@ | ||
Christopher J. Markiewicz <[email protected]> | ||
Christopher J. Markiewicz <[email protected]> <[email protected]> | ||
Christopher J. Markiewicz <[email protected]> <[email protected]> | ||
Taylor Salo <[email protected]> | ||
Taylor Salo <[email protected]> <[email protected]> | ||
Taylor Salo <[email protected]> <[email protected]> |
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 +1 @@ | ||
src/fmripost_aroma/data/NOTICE | ||
src/fmripost_template/data/NOTICE |
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 |
---|---|---|
@@ -0,0 +1,42 @@ | ||
################# | ||
fMRIPost-template | ||
################# | ||
|
||
A generic fMRIPost workflow. | ||
|
||
******** | ||
Overview | ||
******** | ||
|
||
fMRIPost-template is a template repository that can be used to create new fMRIPost workflows. | ||
|
||
The workflows and functions in this repository are designed to implement the majority of | ||
general-purpose steps in an fMRIPost pipeline. | ||
Here are a few of the key features: | ||
|
||
1. Configuration files to define expected BIDS derivatives from the preprocessing pipeline. | ||
2. Functions to collect and organize data from the BIDS derivatives. | ||
3. The ability to work with the following preprocessing configurations: | ||
|
||
- fMRIPrep with ``--level full`` and the required output space for the fMRIPost workflow. | ||
For example, fMRIPost-AROMA requires outputs in ``MNI152NLin6Asym`` space with | ||
2x2x2 mm voxels. | ||
- fMRIPrep with ``--level full`` and boldref-space outputs, | ||
along with transforms to the required output space for the fMRIPost workflow. | ||
- fMRIPrep with ``--level full`` and boldref-space outputs, | ||
along with transforms to spaces that can be combined with existing transforms to | ||
required spaces. | ||
For example, users may apply fMRIPost-AROMA to boldref derivatives with transforms to | ||
MNI152NLin2009cAsym space. | ||
In this case, the fMRIPost-AROMA workflow will pull a transform from MNI152NLin2009cAsym | ||
to MNI152NLin6Asym from TemplateFlow and apply it, | ||
along with the boldref-to-MNI152NLin2009cAsym transform, to the boldref-space derivatives. | ||
|
||
.. warning:: | ||
|
||
Currently, minimal- and resampling-level fMRIPrep derivatives are not supported, | ||
as fMRIPost workflows typically require confounds that are only generated with | ||
``--level full``. | ||
|
||
4. General NiPreps infrastructure for running a BIDS App, such as a config file, | ||
a command-line interface, and tools to generate HTML reports. |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = . | ||
BUILDDIR = _build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
/* override table width restrictions */ | ||
@media screen and (min-width: 767px) { | ||
|
||
.wy-table-responsive table td { | ||
/* !important prevents the common CSS stylesheets from overriding | ||
this as on RTD they are loaded after this stylesheet */ | ||
white-space: normal !important; | ||
} | ||
|
||
.wy-table-responsive { | ||
overflow: visible !important; | ||
} | ||
} | ||
|
||
|
||
/* Fix parameter type style */ | ||
.function .classifier { | ||
margin: 0 0 0 5px; | ||
padding: 3px; | ||
background: rgba(0, 0, 0, .1); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. include:: links.rst | ||
|
||
================ | ||
Developers - API | ||
================ | ||
|
||
The *NiPreps* community and contributing guidelines | ||
--------------------------------------------------- | ||
|
||
*fMRIPost-template* is a *NiPreps* application, and abides by the | ||
`NiPreps Community guidelines <https://www.nipreps.org/community/>`__. | ||
Please, make sure you have read and understood all the documentation | ||
provided in the `NiPreps portal <https://www.nipreps.org>`__ before | ||
you get started. | ||
|
||
Setting up your development environment | ||
--------------------------------------- | ||
|
||
We believe that *fMRIPost-template* must be free to use, inspect, and critique. | ||
Correspondingly, you should be free to modify our software to improve it | ||
or adapt it to new use cases and we especially welcome contributions to | ||
improve it or its documentation. | ||
|
||
We actively direct efforts into making the scrutiny and improvement processes | ||
as easy as possible. | ||
As part of such efforts, we maintain some | ||
`tips and guidelines for developers <https://www.nipreps.org/devs/devenv/>`__ | ||
to help minimize your burden if you want to modify the software. | ||
|
||
Internal configuration system | ||
----------------------------- | ||
|
||
.. automodule:: fmripost_template.config | ||
:members: from_dict, load, get, dumps, to_filename, init_spaces | ||
|
||
Workflows | ||
--------- | ||
|
||
.. automodule:: fmripost_template.workflows.base |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.. include:: links.rst | ||
|
||
---------- | ||
What's new | ||
---------- | ||
|
||
.. include:: ../CHANGES.rst |
Oops, something went wrong.