https://github.com/SainsburyWellcomeCentre/aeon_mecha/blob/datajoint_pipeline/aeon/dj_pipeline/analysis/block_analysis.py#L830 This should be fixed to dynamically find n_patches for given block.