Homec4science

SpecMiCP_cython handles c++ errors

Authored by fabien on Apr 20 2015, 16:57.

Description

SpecMiCP_cython handles c++ errors

Fixes issue #31. The C++ errors are transformed into python errors
according : http://docs.cython.org/src/userguide/wrapping_CPlusPlus.html#exceptions
Note : this is a manual process and the function that may raise an
exception must be identified and flag with 'except +'.
The most obvious one were identified and flagged in the following modules :

  • constraints
  • database
  • solver

Details

Committed
fabienApr 20 2015, 16:57
Parents
rSPECMICP9cc89d2d9dc1: Deprecate the total_saturation_{mineral,water}
Branches
Unknown
Tags
Unknown