Invalidate infinite low
and high
bin limits if not underflow/overflow bins
#56
Labels
low
and high
bin limits if not underflow/overflow bins
#56
We plan to soon support the encoding of underflow bins (e.g.
{low: -.inf, high: 0}
) and overflow bins (e.g.{low: 250, high: .inf}
). See HEPData/hepdata#358 and HEPData/hepdata-converter#55. The validator should be extended to ensure that infinite bin limits are not given elsewhere. For example, assuming only one independent variable, a value of-.inf
should only be allowed for the firstlow
bin limit and a value of.inf
should only be allowed for the lasthigh
bin limit, but not elsewhere. This could be implemented by extending thecheck_independent_variable_values
function. The case of multiple independent variables is more complicated to check.The text was updated successfully, but these errors were encountered: