Skip to content

FIX: accept /- in input databases, ZPF should return empty residuals when there is no data - #299

Merged
bocklund merged 3 commits into
PhasesResearchLab:masterfrom
bocklund:fixed-config-electron-empty-zpf
Oct 27, 2026
Merged

bocklund merged 3 commits into
PhasesResearchLab:masterfrom
bocklund:fixed-config-electron-empty-zpf

Conversation

@bocklund

Copy link
Copy Markdown
Member

No description provided.

…ctron

Without phase models, FixedConfigurationPropertyResidual takes its
components from database.elements. For databases that declare the
electron (ELEMENT /-), that includes /-, and computing the residuals
raised `RuntimeError: Not Implemented` from symengine. Exclude the
electron from the components.
ZPFResidual.get_residuals raised `ValueError: need at least one array to
concatenate` when the datasets had no ZPF data, while get_likelihood
returned 0.0. Return empty residuals and weights, as calculate_zpf_error
does for its likelihood.
@bocklund
bocklund merged commit cb9ddec into PhasesResearchLab:master Oct 27, 2026
11 checks passed
@bocklund
bocklund deleted the fixed-config-electron-empty-zpf branch October 27, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant