cms-nanoAOD / correctionlib

A generic correction library
https://cms-nanoaod.github.io/correctionlib/
BSD 3-Clause "New" or "Revised" License
16 stars 21 forks source link

Re-enable rapidjson::kParseNanAndInfFlag for backwards-compatibility #248

Closed nsmith- closed 3 months ago

nsmith- commented 3 months ago

This is so the evaluator can continue to read json produced pre-v2.6 The schema validator will continue to test for float infinity and warn to migrate to string infinity. The alternative would be to migrate all json to string infinity, but that would not be readable by older evaluators, which is more of a usability issue than the lack of standards-compliance in old json files, for now.

Closes #247