mattragoza / LiGAN

Deep generative models of 3D grids for structure-based drug discovery
GNU General Public License v2.0
225 stars 44 forks source link

Suppress ob warnings #35

Closed Dunni3 closed 2 years ago

Dunni3 commented 2 years ago

For some molecules, openbabel will generate a large number of error/warning messages. When using weights and biases, which captures/reports the stderr, these error messages can cause a deadlock that brings training to a halt. This deadlock is avoided by suppressing error and warning messages from openbabel, which is what this PR does.