Skip to content

Commit

Permalink
update i2q version
Browse files Browse the repository at this point in the history
  • Loading branch information
smeisler committed Sep 19, 2024
1 parent 0df2933 commit 297c1eb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docs/input_data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ HCP Young Adult Preprocessed Data
=================================

To use minimally preprocessed dMRI data from HCP-YA specify ``--input-type hcpya``.
The included FNIRT transforms are usable directly. NOTE: this does not work yet.
The included FNIRT transforms are usable directly. Please note that if you have the
HCPYA dataset from datalad (https://github.com/datalad-datasets/human-connectome-project-openaccess)
then you should ``datalad get`` relevant subject data before running QSIRecon,
and be mindful about how you mount the directory in Docker/Apptainer.

.. _anat_reqs:

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"filelock",
"fury",
"indexed_gzip <= 1.8.7",
"Ingress2QSIRecon == 0.1.4",
"Ingress2QSIRecon == 0.2.0",
"jinja2 < 3.1",
"matplotlib",
"networkx ~= 2.8.8",
Expand Down
10 changes: 5 additions & 5 deletions qsirecon/cli/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,11 @@ def _bids_filter(value, parser):
parser.add_argument(
"input_dir",
action="store",
metavar="bids_dir",
metavar="input_dir",
type=PathExists,
help=(
"The root folder of a BIDS valid dataset "
"(sub-XXXXX folders should be found at the top level in this folder). "
"The root folder of the input dataset "
"(subject-level folders should be found at the top level in this folder). "
"If the dataset is not BIDS-valid, "
"then a BIDS-compliant version will be created based on the --input-type value."
),
Expand Down Expand Up @@ -299,7 +299,7 @@ def _bids_filter(value, parser):
default="qsiprep",
choices=["qsiprep", "ukb", "hcpya"],
help=(
"Specify which pipeline was used to create the data specified as the bids_dir."
"Specify which pipeline was used to create the data specified as the input_dir."
"Not necessary to specify if the data was processed by QSIPrep. "
"Other options include "
'"ukb" for data processed with the UK BioBank minimal preprocessing pipeline and '
Expand Down Expand Up @@ -487,7 +487,7 @@ def parse_args(args=None, namespace=None):
config.execution.bids_dir = work_dir / "bids"

# Make fake BIDS files
bids_scaffold = str(load_resource("bids_scaffold/"))
bids_scaffold = str(load_resource("bids_scaffold"))
if not op.exists(op.join(config.execution.bids_dir, "dataset_description.json")):
shutil.copytree(
bids_scaffold,
Expand Down

0 comments on commit 297c1eb

Please sign in to comment.