From 884da46a97a953e7656d29195afb6b690eee3843 Mon Sep 17 00:00:00 2001 From: "birajstha:construction_worker::penguin" Date: Tue, 19 Nov 2024 13:06:23 -0500 Subject: [PATCH 1/2] 3dTproject --- descriptors/afni/3dTproject.json | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/descriptors/afni/3dTproject.json b/descriptors/afni/3dTproject.json index b57b04267..013ca32f2 100644 --- a/descriptors/afni/3dTproject.json +++ b/descriptors/afni/3dTproject.json @@ -1,6 +1,6 @@ { "name": "3dTproject", - "command-line": "3dTproject [TR] [AUTOMASK] [BANDPASS] [BLUR] [CENMODE] [CENSOR] [CENSORTR] [CONCAT] [DSORT] [IN_FILE] [MASK] [NOBLOCK] [NORM] [ORT] [POLORT] [STOPBAND]", + "command-line": "3dTproject [TR] [AUTOMASK] [BANDPASS] [BLUR] [CENMODE] [CENSOR] [CENSORTR] [CONCAT] [DSORT] [IN_FILE] [MASK] [NOBLOCK] [NORM] [ORT] [POLORT] [STOPBAND] [PREFIX]", "author": "AFNI Developers", "description": "This program projects (detrends) out various 'nuisance' time series from each voxel in the input dataset. Note that all the projections are done via linear regression, including the frequency-based options such as '-passband'. In this way, you can bandpass time-censored data, and at the same time, remove other time series of no interest (e.g., physiological estimates, motion parameters).", "url": "https://afni.nimh.nih.gov/", @@ -52,7 +52,11 @@ "command-line-flag": "-cenmode", "description": "'kill' or 'zero' or 'ntrp'. Specifies how censored time points are treated in the output dataset:* mode = zero -- put zero values in their place; output dataset is same length as input* mode = kill -- remove those time points; output dataset is shorter than input* mode = ntrp -- censored values are replaced by interpolated neighboring (in time) non-censored values, before any projections, and then the analysis proceeds without actual removal of any time points -- this feature is to keep the spanish inquisition happy.* the default mode is kill !!!.", "optional": true, - "value-choices": ["KILL", "ZERO", "NTRP"] + "value-choices": [ + "KILL", + "ZERO", + "NTRP" + ] }, { "id": "censor", @@ -158,15 +162,23 @@ "command-line-flag": "-stopband", "description": "(a float, a float). Remove all frequencies in the range.", "optional": true + }, + { + "id": "prefix", + "name": "Prefix", + "type": "String", + "value-key": "[PREFIX]", + "command-line-flag": "-prefix", + "description": "Output file prefix.", + "optional": false } ], "output-files": [ { "name": "Out file", "id": "out_file", - "path-template": "[IN_FILE]", - "value-key": "[OUT_FILE]", - "command-line-flag": "-prefix", + "path-template": "[PREFIX]", + "value-key": "[PREFIX]", "optional": true, "description": "Output file." } @@ -180,4 +192,4 @@ "tags": { "domain": "neuroinformatics" } -} +} \ No newline at end of file From a35ca431dc9b92f581946235308f730bc820a516 Mon Sep 17 00:00:00 2001 From: Florian Rupprecht <33600480+nx10@users.noreply.github.com> Date: Tue, 19 Nov 2024 16:39:30 -0500 Subject: [PATCH 2/2] Update descriptors/afni/3dTproject.json --- descriptors/afni/3dTproject.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/descriptors/afni/3dTproject.json b/descriptors/afni/3dTproject.json index 013ca32f2..83572449e 100644 --- a/descriptors/afni/3dTproject.json +++ b/descriptors/afni/3dTproject.json @@ -53,9 +53,9 @@ "description": "'kill' or 'zero' or 'ntrp'. Specifies how censored time points are treated in the output dataset:* mode = zero -- put zero values in their place; output dataset is same length as input* mode = kill -- remove those time points; output dataset is shorter than input* mode = ntrp -- censored values are replaced by interpolated neighboring (in time) non-censored values, before any projections, and then the analysis proceeds without actual removal of any time points -- this feature is to keep the spanish inquisition happy.* the default mode is kill !!!.", "optional": true, "value-choices": [ - "KILL", - "ZERO", - "NTRP" + "kill", + "zero", + "ntrp" ] }, {