diff --git a/src/cal_tools/plotting.py b/src/cal_tools/plotting.py index 544b6ce8ced8be30e5a21b272ac824344c477236..8638d957de82e7b665880cc3bb1b04e5cc6649cf 100644 --- a/src/cal_tools/plotting.py +++ b/src/cal_tools/plotting.py @@ -447,7 +447,11 @@ def init_jungfrau_geom( (-1, -1) for _ in range(4)] + [(1, 1) for _ in range(4)] elif "JF1M" in karabo_id: nmods = 2 - expected_modules = [f"JNGFR{i:02d}" for i in range(1, nmods+1)] + st_modno = 1 + # TODO: This is a temporary workaround. A proper solution is needed. + if karabo_id == "SPB_CFEL_JF1M": + st_modno = 9 + expected_modules = [f"JNGFR{i:02d}" for i in range(st_modno, st_modno+nmods)] module_pos = ((-mod_width//2, 33), (-mod_width//2, -mod_height-33)) orientations = [(-1,-1), (1,1)] else: # e.g. HED_IA1_JF500K1, FXE_XAD_JF500K, FXE_XAD_JFHZ