Syntax error using

AFNI version info (afni -ver): Precompiled binary linux_ubuntu_16_64: Jul 28 2023 (Version AFNI_23.2.02 'Marcus Didius Severus Julianus')


I used to run resting state in one subject, and it all went well until the last part when it wanted to generate the QC files: -review_style pythonic -subj_dir . -uvar_json out.ss_review_uvars.json
Traceback (most recent call last):
  File "/home/egarza/abin/", line 261, in <module>
    from afnipy import lib_apqc_tcsh       as lat
  File "/home/egarza/abin/afnipy/", line 1324
    print("++ APQC create:", oname, flush=True)
SyntaxError: invalid syntax

Any idea how to fix this error? If I try to run it in terminal I get the same error.



I think this particular line is using a python3 specific option. Can you try with python3 as your default python or calling this with python3 ... ?

Hi Daniel,

Seemms is now deprecated, so Paul suggested to just use de instead.




Oh, I didn't realize I had just used python 3.*-specific syntax there, either. I will put a try/except there, too.