astrorama / SourceXtractorPlusPlus

SourceXtractor++, the next generation SExtractor
https://astrorama.github.io/SourceXtractorPlusPlus/
GNU Lesser General Public License v3.0
72 stars 9 forks source link

SourceXtractor FATAL : boost::bad_get: failed value get using boost::get #405

Closed mkuemmel closed 3 years ago

mkuemmel commented 3 years ago

A user (OU NIR) permanently got the following error when running on their data: SourceXtractor FATAL : boost::bad_get: failed value get using boost::get

Turns out the problem is the int keyword: SATURATE= 64511

but here the kewyword is expected to be double: https://github.com/astrorama/SourceXtractorPlusPlus/blob/c3d57aba7f10a016033941be27556e7eb0696362/SEImplementation/src/lib/Configuration/DetectionImageConfig.cpp#L85

The same is true for "GAIN" and "FLXSCALE" around this code line.