When running MCCD in the pipeline, the following error is produced:
09/12/2022 11:25:38 ERROR: 'SourceLocGrad' object has no attribute '_input_data_writeable'
Traceback (most recent call last):
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/pipeline/worker_handler.py", line 180, in _run_worker
with_timeout(self.worker_dict['timeout'], self.w_log.name)(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/pipeline/timeout.py", line 42, in inner
return decorated(*args, **kwargs)
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/pipeline/worker_handler.py", line 194, in _worker_execution
self._run_module()
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/pipeline/worker_handler.py", line 215, in _run_module
self._stdout, self._stderr = self._module_runner(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/modules/mccd_fit_val_runner.py", line 53, in mccd_fit_val_runner
aux_mccd.mccd_fit_pipeline(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/shapepipe/modules/mccd_package/shapepipe_auxiliary_mccd.py", line 265, in mccd_fit_pipeline
mccd.auxiliary_fun.mccd_fit(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/mccd/auxiliary_fun.py", line 617, in mccd_fit
_, _, _, _, _ = mccd_instance.fit(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/mccd/mccd.py", line 539, in fit
self._fit()
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/mccd/mccd.py", line 864, in _fit
source_loc_grad = [grads.SourceLocGrad(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/mccd/mccd.py", line 864, in <listcomp>
source_loc_grad = [grads.SourceLocGrad(
File "/home/mkilbing/.conda/envs/shapepipe/lib/python3.9/site-packages/mccd/grads.py", line 362, in __init__
self.obs_data = data
File "/home/mkilbing/.local/lib/python3.9/site-packages/modopt/opt/gradient.py", line 109, in obs_data
writeable=self._input_data_writeable,
AttributeError: 'SourceLocGrad' object has no attribute '_input_data_writeable'
When running
MCCD
in the pipeline, the following error is produced:The module versions are: