You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading force constants from Phonopy can generate multiple "warnings" e.g. Force constants not found in 4-benzylaniline_683106-phonopy.yaml, attempting to read from 4-benzylaniline_683106-force_constants.hdf5 which takes a lot of terminal space when I run many calculations in a script. Therefore, I tried looking into disabling these stdout prints, but it turned out that they are hardcoded print statements.
Would it be possible to use something like logging or warnings.warn to log these messages? That way, it would be possible to intercept them upstream
The text was updated successfully, but these errors were encountered:
Hi!
Loading force constants from Phonopy can generate multiple "warnings" e.g.
Force constants not found in 4-benzylaniline_683106-phonopy.yaml, attempting to read from 4-benzylaniline_683106-force_constants.hdf5
which takes a lot of terminal space when I run many calculations in a script. Therefore, I tried looking into disabling these stdout prints, but it turned out that they are hardcoded print statements.Would it be possible to use something like
logging
orwarnings.warn
to log these messages? That way, it would be possible to intercept them upstreamThe text was updated successfully, but these errors were encountered: