Ah ok thank you, I am happy to wait until it’s more finalized! Will stay tuned for updates.
In the meantime I’m wanting to make sure I understand how to implement your other suggestions… I have added parsessions: 2
to the top of the recipe file (global_parameters
section; and left it in the the hcp_longitudinal
section as well)
I am not sure i completely follow the details on the convention i should be using for subject/session ID formatting - if it’s easy to point me to documentation on that, i’d appreciate it, otherwise i’ll keep poking around.
The rest of what I’ll post might be moot with the updates, but in case not I wanted to get a head start on any feedback about what I might be doing wrong. My test run has finished now, and it looks to me like everything through hcp_long_freesurfer has completed (e.g. see aseg.stats outputs below), and then an error was encountered. FWIW, my actually subject ID here is 0223, and sessions are P45 and P52, using those below.
$ ll DBIS_long_0223/subjects/0223/0223.long.base/T1w/*/stats/aseg.stats
-rw-rw-r--. 1 ark19 wheel 9808 Feb 20 07:09 DBIS_long_0223/subjects/0223/0223.long.base/T1w/base/stats/aseg.stats
-rw-rw-r--. 1 ark19 wheel 9489 Feb 20 14:56 DBIS_long_0223/subjects/0223/0223.long.base/T1w/P45.long.base/stats/aseg.stats
-rw-rw-r--. 1 ark19 wheel 9798 Feb 19 06:21 DBIS_long_0223/subjects/0223/0223.long.base/T1w/P45/stats/aseg.stats
-rw-rw-r--. 1 ark19 wheel 9489 Feb 20 15:03 DBIS_long_0223/subjects/0223/0223.long.base/T1w/P52.long.base/stats/aseg.stats
-rw-rw-r--. 1 ark19 wheel 9798 Feb 19 16:50 DBIS_long_0223/subjects/0223/0223.long.base/T1w/P52/stats/aseg.stats
$
$ tail -5 DBIS_long_0223/processing/logs/comlogs/done_hcp_long_freesurfer_0223_2025-02-19_21.43.22.705024.log
Started at Wed Feb 19 21:43:29 EST 2025
Ended at Thu Feb 20 07:29:27 EST 2025
#@#%# recon-all-run-time-hours 9.766
recon-all -s base finished without error at Thu Feb 20 07:29:27 EST 2025
done
Here are relevant lines of DBIS_long_0223/processing/batch.txt
, which look good to me:
session: P45
subject: 0223
bids: /work/long/qunex/DBIS_long_0223/sessions/P45/bids
raw_data: /work/long/qunex/DBIS_long_0223/sessions/P45/nii
hcp: /work/long/qunex/DBIS_long_0223/sessions/P45/hcp
hcpready: true
1 :T1w :T1w: fm(1)
2 :T2w :T2w acq-FLAIR: fm(1)
3 :FM-Magnitude :magnitude: fm(1)
4 :FM-Phase :phasediff: fm(1)
---
# Generated by QuNex 1.0.4 [QIO] on 2025-02-18_17.37.49.452888
#
session: P52
subject: 0223
bids: /work/long/qunex/DBIS_long_0223/sessions/P52/bids
raw_data: /work/long/qunex/DBIS_long_0223/sessions/P52/nii
hcp: /work/long/qunex/DBIS_long_0223/sessions/P52/hcp
hcpready: true
1 :T1w :T1w: fm(1)
2 :T2w :T2w acq-FLAIR: fm(1)
3 :FM-Magnitude :magnitude: fm(1)
4 :FM-Phase :phasediff: fm(1)
and here is the end of $HOME/qunex_container_2025-02-18_17.37.21.460015.txt
reflecting the error that seems to have arisen after hcp_long_freesurfer
Starting processing of subjects 0223 at Wednesday, 19. February 2025 21:43:22
Running external command: /opt/HCP/HCPpipelines/FreeSurfer/LongitudinalFreeSurferPipeline.sh --subject="0223" --path="/work/long/qunex/DBIS_long_0223/subjects/0223" --sessions="P45@P52" --longitudinal-template="base" --parallel-mode="BUILTIN" --logdir="/work/long/qunex/DBIS_long_0223/processing/logs/comlogs/extra_logs_hcp_long_freesurfer_0223"
You can follow command's progress in:
/work/long/qunex/DBIS_long_0223/processing/logs/comlogs/tmp_hcp_long_freesurfer_0223_2025-02-19_21.43.22.705024.log
------------------------------------------------------------
------------------------------------------------------------
Sessions: 0223
[started on Wednesday, 19. February 2025 21:43:22]
Running HCP Longitudnal FS Pipeline [HCPStyleData] ...
ERROR: Unknown error occured:
...................................
Traceback (most recent call last):
File "/opt/qunex/python/qx_utilities/hcp/process_hcp.py", line 2459, in hcp_long_freesurfer
log = result["log"]
~~~~~~^^^^^^^
KeyError: 'log'
...................................
HCP Longitudinal FS Preprocessing completed on Thursday, 20. February 2025 15:38:49
------------------------------------------------------------
---> Final report for command hcp_long_freesurfer
... 0223 ---> Error
---> Not all tasks completed fully!
---> ERROR in completing run_recipe:
run_recipe command failed
Command hcp_long_freesurfer inside recipe hcp_longitudinal failed
See error logs in the study folder for details
If there’s something I’ll need to fix even after the update, please let me know - thanks!