SyneRBI / SIRF-Contribs

Users contributions to SIRF
Apache License 2.0
2 stars 6 forks source link

partitioner error #14

Closed paskino closed 4 months ago

paskino commented 4 months ago

Calling

data,acq_models, obj_funs = partitioner.data_partition(acquired_data,background,mult_factors, num_subsets, "random")

Gives a TypeError: _partition_deterministic() got multiple values for argument 'stagger'

The signature of _partition_deterministic is https://github.com/SyneRBI/SIRF-Contribs/blob/01ae7eafbf2f230b057f39f75745f8ba82d64dae/src/Python/sirf/contrib/partitioner/partitioner.py#L87

This is called with the wrong parameters by https://github.com/SyneRBI/SIRF-Contribs/blob/01ae7eafbf2f230b057f39f75745f8ba82d64dae/src/Python/sirf/contrib/partitioner/partitioner.py#L193

There seems to be a spurious views.