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

[Bug]: Parsing AFNI script produces - Entity #140

Open
bclenet opened this issue Sep 25, 2024 · 1 comment
Open

[Bug]: Parsing AFNI script produces - Entity #140

bclenet opened this issue Sep 25, 2024 · 1 comment

Comments

@bclenet
Copy link
Collaborator

bclenet commented Sep 25, 2024

batch name and line

File : https://github.com/bids-standard/BEP028_BIDSprov/blob/master/examples/from_parsers/afni/afni_alt_onesided_proc.sub_001
Line 310

3dTstat -sos -prefix - gmean.errts.unit.1D\' > out.gcor.1D

Note that I didn't check precisely but the same thing happens in other AFNI files.

What happened?

This line in the tcsh AFNI script

3dTstat -sos -prefix - gmean.errts.unit.1D\' > out.gcor.1D

generates the following Entity in the json file

{
  "@id": "urn:4cef8fb6-2bfe-4c0e-85b8-4020e5ea01e3",
  "Label": "-",
  "AtLocation": "-",
  "GeneratedBy": "urn:1c42556b-6ea5-40c5-ba7f-d049ffbfac3c",
  "digest": {
    "sha256": "dac304c9f20899ca1ef5aa403e565345fd0ff4ed80c35f82007c9b03a68292b3"
  }
},

Describe the expected ground-truth ?

The expected ground-truth :
We should create / reference these Entites instead:

  • gmean.errts.unit.1D
  • out.gcor.1D

What soft is concerned

AFNI

@bclenet
Copy link
Collaborator Author

bclenet commented Oct 2, 2024

This is caused by - according to the AFNI documentation on 3dTstat - the fact that the 3dTstat excutable has two signatures :

  • One for processing 4D files, e.g. : 3dTstat -min -prefix rm.epi.min.r$run rm.epi.1.r$run+tlrc
  • One for processing 1D files, e.g. : 3dTstat -stdev -bmv -prefix stdout: file.1D\' (the one described in this issue)

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

No branches or pull requests

1 participant