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 scripts that use tee executable #139

Open
bclenet opened this issue Sep 25, 2024 · 0 comments
Open

[Bug]: Parsing AFNI scripts that use tee executable #139

bclenet opened this issue Sep 25, 2024 · 0 comments

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
Lines 209, 213, 288, 396

Here is an example :

3dABoverlap -no_automask full_mask.$subj+tlrc mask_anat.$subj+tlrc    \
            |& tee out.mask_ae_overlap.txt

Note that I didn't check precisely but the same thing happens in almost any AFNI file.

What happened?

This line in the tcsh AFNI script

3dABoverlap -no_automask full_mask.$subj+tlrc mask_anat.$subj+tlrc    \
            |& tee out.mask_ae_overlap.txt

generates the following Entity in the json file

{
  "@id": "urn:457d391d-f8af-4766-94cd-9b534bda02f2",
  "Label": "tee",
  "AtLocation": "tee",
  "digest": {
    "sha256": "488c130882945cf897e96d08106e9ef8834191bd5a04c4650e3066820cd5bb9a"
  }
},

although tee is an executable, not an Entity.

Describe the expected ground-truth ?

We may want instead to :

  • create an Activity for tee
  • create an Entity for `out.mask_ae_overlap.txt

What soft is concerned

AFNI

@bclenet bclenet changed the title [Bug]: AFNI scripts using tee executable [Bug]: Parsing AFNI scripts using tee executable Sep 25, 2024
@bclenet bclenet changed the title [Bug]: Parsing AFNI scripts using tee executable [Bug]: Parsing AFNI scripts that use tee executable Sep 25, 2024
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