fix: truncate chi metadata at 0
CI / test-with-beamline-plugins (pxii_bec) (pull_request) Successful in 1m2s
CI / test-with-beamline-plugins (pxiii_bec) (pull_request) Successful in 1m10s
CI / lint (pull_request) Successful in 1m29s
CI / test (3.13) (pull_request) Successful in 1m26s
CI / test-with-coverage (pull_request) Successful in 1m28s
CI / coverage-analysis (pull_request) Successful in 3s
CI / test (3.14) (pull_request) Successful in 2m3s
CI / test (3.12) (pull_request) Successful in 3m15s
CI / test-with-beamline-plugins (pxi_bec) (pull_request) Successful in 3m15s
CI / lint (push) Successful in 33s
Docs build and publish / docker (push) Successful in 16s
CI / test (3.12) (push) Canceled after 38s
CI / test (3.14) (push) Canceled after 33s
CI / test (3.13) (push) Canceled after 34s
CI / test-with-beamline-plugins (pxi_bec) (push) Canceled after 29s
CI / test-with-beamline-plugins (pxii_bec) (push) Canceled after 28s
CI / test-with-beamline-plugins (pxiii_bec) (push) Canceled after 24s
CI / test-with-coverage (push) Canceled after 23s
CI / coverage-analysis (push) Canceled after 0s
Build and Publish / release (push) Successful in 22s

This commit was merged in pull request #192.
This commit is contained in:
2026-09-02 10:08:38 +02:00
parent 3612966c23
commit 386e301dde
+1 -1
View File
@@ -174,7 +174,7 @@ class JFJochWrapper:
# build common dataset settings
if s.geom.smargon.phi_deg is not None and s.geom.smargon.chi_deg is not None:
smargon_phi_chi = DatasetSettingsSmargon(
phi_deg=s.geom.smargon.phi_deg, chi_deg=s.geom.smargon.chi_deg
phi_deg=s.geom.smargon.phi_deg, chi_deg=max(s.geom.smargon.chi_deg, 0)
)
else:
smargon_phi_chi = None