Skip to content
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

Regenerate value-keys (upper-case id) #185

Merged
merged 2 commits into from
Nov 27, 2024
Merged

Regenerate value-keys (upper-case id) #185

merged 2 commits into from
Nov 27, 2024

Conversation

nx10
Copy link
Contributor

@nx10 nx10 commented Nov 26, 2024

No description provided.

@nx10 nx10 requested a review from kaitj November 26, 2024 16:58
@@ -3,7 +3,7 @@
"name": "1dCorrelate",
"author": "AFNI Developers",
"description": "1dCorrelate calculates the correlation coefficients between columns of input 1D files along with confidence intervals via a bootstrap procedure.",
"command-line": "1dCorrelate [METHOD] [BOOTSTRAP_REPLICATES] [CONFIDENCE_INTERVAL] [BLOCK_RESAMPLING] [INPUT_FILES]",
"command-line": "1dCorrelate [KTAUB] [NBOOT] [ALPHA] [BLK] [INPUT_FILES]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method here has been replaced by the last correlation option, disabling all the other flags.

@@ -5,15 +5,15 @@
"descriptor-url": "https://github.com/afni/afni/blob/master/src/1dMarry.c",
"description": "Joins together 2 (or more) ragged-right .1D files, for use with 3dDeconvolve -stim_times_AM2, or breaks up 1 married file into 2 (or more) single-valued files.",
"url": "https://afni.nimh.nih.gov/",
"command-line": "1dMarry [SEPARATORS] [DIVORCE_FLAG] [FILE1] [FILE2]",
"command-line": "1dMarry [SEP] [DIVORCE] [FILES] [FILE2]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove [FILE2] here

@@ -20,7 +20,7 @@
},
{
"description": "Output prefix. See also -save.",
"value-key": "[PREFIX]",
"value-key": "[OUTPUT_PREFIX]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All the values here and below are missing in the command-line.

@@ -50,7 +50,7 @@
{
"command-line-flag": "-max_iter",
"description": "Maximum number of iterations for convergence (Default=10000). Values can range from 1 to any positive integer less than 10000.",
"value-key": "[MAX_ITER]",
"value-key": "[MAX_ITERATIONS]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below not in command line

@@ -18,7 +18,7 @@
{
"command-line-flag": "-inc",
"description": "Sort into increasing order [default]",
"value-key": "[ORDER_OPTION]",
"value-key": "[INC_ORDER]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not in command-line

@@ -29,7 +29,7 @@
{
"command-line-flag": "-bin",
"description": "Write data in binary format",
"value-key": "[BINARY_FLAG]",
"value-key": "[BINARY]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both here and below aren't in command-line

@@ -3,7 +3,7 @@
"name": "3dAFNItoANALYZE",
"author": "AFNI Developers",
"description": "Writes AFNI dataset to ANALYZE 7.5 format .hdr/.img file pairs.",
"command-line": "3dAFNItoANALYZE [4D_FLAG] [ORIENT_FLAG] [OUTPUT_NAME] [DSET]",
"command-line": "3dAFNItoANALYZE [4D_OPTION] [ORIENT_OPTION] [OUTPUT_NAME] [AFNI_DATASET]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFNI_DATASET missing in inputs

@@ -20,7 +20,7 @@
{
"command-line-flag": "-data",
"description": "Also put the data into the output (will be huge).",
"value-key": "[DATA_FLAG]",
"value-key": "[DATA]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here and below missing in command-line

@@ -283,7 +283,7 @@
},
{
"description": "Specify the output file for the interaction contrast results between A and B (case-sensitive).",
"value-key": "[OUTFILE_ABCONTR_CASE]",
"value-key": "[OUTFILE_ABCONTR]",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All OUTFILE_* keys aren't included in command-line

@@ -3,7 +3,7 @@
"name": "3dAmpToRSFC",
"author": "AFNI Developers",
"description": "Convert spectral amplitudes into standard RSFC parameters.",
"command-line": "3dAmpToRSFC { [INPUT_AMPS] | [INPUT_POWS] } [PREFIX] [FBOT] [FTOP] { [MASK] } { -nifti }",
"command-line": "3dAmpToRSFC { [IN_AMP] | [IN_POW] } [PREFIX] [BAND] { [MASK] } { -nifti }",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is happening here with the curly braces (is this how the command calls it?)

Copy link
Contributor

@kaitj kaitj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - I didn't go through all of them in detail given the new test to be run (shown offline). Nothing changed in terms of command-line flags.

One noted issue when I first started doing the review in more depth was that anything that contained OPTION had mismatched command-line and input arguments. This can be fixed in a later PR, but just wanted to note it.

@nx10 nx10 merged commit 88ded06 into main Nov 27, 2024
2 checks passed
@nx10 nx10 deleted the valuekey-regen branch December 17, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants