Somehow we pass an array with the wrong size
; ./code/wonkyconn.sh
[16:14:11] WARNING mkdir -p failed for path /data/cephfs-1/work/groups/walter/users/wallerl_c/.cache/matplotlib: [Errno 30] Read-only file system: '/data/cephfs-1/work' __init__.py:537
WARNING Matplotlib created a temporary cache directory at /tmp/matplotlib-ordh6dnf because there was an issue with the default path (/data/cephfs-1/work/groups/walter/users/wallerl_c/.cache/matplotlib); it is highly recommended to set the MPLCONFIGDIR __init__.py:554
environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
INFO generated new fontManager font_manager.py:1639
[07:04:58] WARNING Atlas "Schaefer2018Combined" region 116 has more than a single connected component atlas.py:123
[07:04:59] WARNING Atlas "Schaefer2018Combined" region 144 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 198 has more than a single connected component atlas.py:123
[07:05:01] WARNING Atlas "Schaefer2018Combined" region 327 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 395 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 399 has more than a single connected component atlas.py:123
[07:05:02] WARNING Atlas "Schaefer2018Combined" region 418 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 419 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 420 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 421 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 422 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 423 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 424 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 425 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 426 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 427 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 428 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 429 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 430 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 431 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 432 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 433 has more than a single connected component atlas.py:123
WARNING Atlas "Schaefer2018Combined" region 434 has more than a single connected component atlas.py:123
0%| | 0/18 [00:35<?, ?groups/s]
[07:07:22] ERROR Exception: partial_correlation: Input operand 2 has a mismatch in its core dimension 0, with gufunc signature (n),(n),(n,m)->(),() (size 1611 is different from 1610) run.py:178
Traceback (most recent call last):
File "/app/.pixi/envs/wonkyconn/lib/python3.13/site-packages/wonkyconn/run.py", line 176, in main
workflow(args_for_workflow)
~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/app/.pixi/envs/wonkyconn/lib/python3.13/site-packages/wonkyconn/workflow.py", line 131, in workflow
record = make_record(
index,
...<7 lines>...
disable_prediction_gradient,
)
File "/app/.pixi/envs/wonkyconn/lib/python3.13/site-packages/wonkyconn/workflow.py", line 200, in make_record
qcfc = calculate_qcfc(seg_data_frame, connectivity_matrices, metric_key)
File "/app/.pixi/envs/wonkyconn/lib/python3.13/site-packages/wonkyconn/features/quality_control_connectivity.py", line 68, in calculate_qcfc
correlation, count = partial_correlation(connectivity_array, metrics, covariates)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/.pixi/envs/wonkyconn/lib/python3.13/site-packages/numba/np/ufunc/gufunc.py", line 263, in __call__
return self.ufunc(*args, **kwargs)
~~~~~~~~~~^^^^^^^^^^^^^^^^^
ValueError: partial_correlation: Input operand 2 has a mismatch in its core dimension 0, with gufunc signature (n),(n),(n,m)->(),() (size 1611 is different from 1610)
Somehow we pass an array with the wrong size