Closed stephtdouglas closed 1 year ago
Hm! Try doing the .pack()
without a unit passed in?
packed_samples, units = prior_samples.pack()
That worked! The old version must have just only wanted units for velocity (or jitter?), instead of the option to submit multiple units via the ordered dict. Thanks!
When trying to pack samples, I am running into a bug within samples.py. Here's a MWE:
And I get the error
For context, I'm doing this because I'm still trying to do some runs with TwoFace for a proposal, and that wants to do the prior sampling in batches rather than all at once. Hence I'm doing this and not using the built-in writer.