AC/PC Or Normalization 1 Mandatory argument write of None has no value #218
Unanswered
ansleymartin04
asked this question in
Q&A
Replies: 2 comments 7 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Here is the breakdown of the issue to the most useful detail I can provide. I am new to Morphologist and BrainVISA, but have done my due diligence to the best of my ability by consulting this discussion board, all of the tutorials I can find, the manuals, and Claude. Please help, thank you.
Environment (running on my local Neurodesk environment because I use Mac Silicon):
Data:
shape (260, 311, 260)
database
Error (consistent across subjects):
RuntimeError: Mandatory argument write of None has no value
in Normalization pipeline
in AC/PC Or Normalization
in Morphologist 2025
Partial outputs present before failure:
Observation:
One subject processed successfully in an earlier test using an identical T1 file placed directly in the database root folder (named T1w_acpc_dc_restore.nii.gz), which produced a ses-HCP session and completed through to sulcal graphs and a morphologist report PDF. Additionally, last week I ran a few more files through Morphologist in a database identical to my current structure, and they worked, so I iterated through multiple files. In the morning, it crashed. Then everything went downhill, and I have received this error ever since. The difference between that run and the current failing batch is unclear.
Here are the solutions I have tried:
inspected ontology (several times)
completely rebuilt my directory from the zipped download from HCP to a clean input with the .nii.gz files, made a new database, reimported all of the files, and attempted again. Same error.
I tried running the tester file on my Neurodesk.play (different instance) and got oddly a different error, which I included as "Error 2" at the bottom.
I have tried doing the AC/PC registration manually, still did not process through. Which really confused me.
I double-checked SPM in preferences, and it appears to be correct.
Claude seems to think that the difference in resolution between HCP data and SPM is the issue.
Claude's comments below:
"Suspected cause (from community posts): The SPM normalization FOV quality check compares voxel count of the
normalised output (~4.6M at 1mm) against the conform input. At 0.7mm (~21M voxels), the ratio is ~0.35, below
the 0.6 threshold. This may trigger a retry that corrupts the MNI referential, leaving the write output
unresolvable.
Questions:
before import?
desc-conform files)?
Error 1 (main error):
?Process Morphologist 2025 started on 2026/06/29 14:02
?Process Aims Converter started on 2026/06/29 14:02
?Process Aims Converter finished on 2026/06/29 14:02 (1 seconds)
Trying 1st pass of normalization...
?Process Anatomy Normalization (using SPM12) started on 2026/06/29 14:02
?Process spm12 - Old normalise: Estimate & Write - generic started on 2026/06/29 14:02
?Process spm12 - Old normalise: Estimate & Write - generic finished on 2026/06/29 14:03 (29 seconds)
?Process Anatomy Normalization (using SPM12) finished on 2026/06/29 14:03 (29 seconds)
the normalization has probably failed and the field of view is wrong
1st pass failed, changing internal transformation initialization
?Process Reset internal image transformation started on 2026/06/29 14:03
?Process Reset internal image transformation finished on 2026/06/29 14:03 (0 seconds)
Retrying normalization after changing initialization...
?Process Anatomy Normalization (using SPM12) started on 2026/06/29 14:03
?Process spm12 - Old normalise: Estimate & Write - generic started on 2026/06/29 14:03
?Process spm12 - Old normalise: Estimate & Write - generic finished on 2026/06/29 14:03 (23 seconds)
?Process Anatomy Normalization (using SPM12) finished on 2026/06/29 14:03 (23 seconds)
? in SPM Normalization Pipeline 1 Mandatory argument write of None has no value
RuntimeError
RuntimeError: Mandatory argument write of None has no value
? in Normalization pipeline 1 Mandatory argument write of None has no value
RuntimeError
RuntimeError: Mandatory argument write of None has no value
? in AC/PC Or Normalization 1 Mandatory argument write of None has no value
RuntimeError
RuntimeError: Mandatory argument write of None has no value
? in Morphologist 2025 1 Mandatory argument write of None has no value
RuntimeError
RuntimeError: Mandatory argument write of None has no value
Error 2:
" t1mri = /home/jovyan/Desktop/HCP/T1w_acpc_dc_restore.nii.gz
perform_normalization = True
anterior_commissure = [90.0002670288086, 92.11294555664062, 114.27655029296875]
posterior_commissure = [89.79739159811288, 120.67088449001312, 112.43509008735418]
interhemispheric_point = [90.31357981264591, 126.47017651796341, 61.65425541996956]
left_hemisphere_point = None
t1mri_nobias = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/segmentation/sub-T1w_acpc_dc_restore_ses-HCP_run-0_nobias.nii.gz
histo_analysis = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/segmentation/sub-T1w_acpc_dc_restore_ses-HCP_run-0_nobias.han
split_brain = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/segmentation/sub-T1w_acpc_dc_restore_ses-HCP_run-0_voronoi.nii.gz
left_graph = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/folds/3.1/sub-T1w_acpc_dc_restore_ses-HCP_run-0_hemi-L.arg
right_graph = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/folds/3.1/sub-T1w_acpc_dc_restore_ses-HCP_run-0_hemi-R.arg
perform_sulci_recognition = True
left_labelled_graph = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/folds/3.1/sul-0_auto/sub-T1w_acpc_dc_restore_ses-HCP_run-0_sul-0_hemi-L_auto.arg
right_labelled_graph = /home/jovyan/Desktop/HCP/sub-T1w_acpc_dc_restore/ses-HCP/run-0/ana-0/folds/3.1/sul-0_auto/sub-T1w_acpc_dc_restore_ses-HCP_run-0_sul-0_hemi-R_auto.arg
allow_multithreading = True
Output
?Process Morphologist 2025 started on 2026/06/29 11:28
? in Morphologist 2025 1
RuntimeError: System command exited with non null value : 111"
I am happy to provide any additional information that may be of help. Thank you for your time. Have a good day.
Beta Was this translation helpful? Give feedback.
All reactions