Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
mkuemmel opened this issue Oct 3, 2021 · 0 comments
Closed
Labels

Comments

@mkuemmel
Copy link
Collaborator

mkuemmel commented Oct 3, 2021

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:

detection_image_saturate = boost::get<double>(img_metadata.at("SATURATE").m_value);

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant