Closed jadball closed 9 months ago
In goforit()
we have:
https://github.com/FABLE-3DXRD/ImageD11/blob/7ebe6264bca003da127e0ea1338da491eb6c1b34/ImageD11/sinograms/properties.py#L786
In get_start_end()
we have:
When n = 1
(i.e when len(ds.scans) = 1
) this will always generate an empty list for overlaps
, hence the AssertionError
.
For one rotation scan I think this was the purpose of pks_table_from_scan( sparsefilename, ds, row )
? You don't need a batch job unless you have a lot of scans to process. I think it is failing on the 4D overlaps, which kind of makes sense if you give it a 3D scan. The error message could be fixed up.
If you have fscan2d or f2scan then you should get ds.scans as a long list that is looking at slices inside the scan.
Thanks Jon! This is indeed resolved by using:
pks_table = ImageD11.sinograms.properties.pks_table_from_scan(sparse_file, dataset, 0)
When segmenting and labelling data for a box-beam experiment with a single scan, we get an AssertionError when running
sinograms.properties.main
:The
sbatch
file was generated with the following call tosinograms.lima_segmenter.setup
:Yielding the following (paths sanitized):