-
Notifications
You must be signed in to change notification settings - Fork 36
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
How to prohibit FreeSASA warning #50
Comments
How are you calling freesasa to get this?
…On Mon, 24 Aug 2020 at 16:08, xiaolinpan ***@***.***> wrote:
Could you teach me to prohibit the waring message? thank you very much!
"""
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and
radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and
radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and
radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and
radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and
radius 1.100 A
FreeSASA: warning: guessing that atom 'N' is symbol ' N'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'O' is symbol ' O'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'O' is symbol ' O'
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
"""
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#50>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVV4HCQJBYSJQLKYI5PSY3SCJX5VANCNFSM4QJRKI2A>
.
|
I use |
The Python API does not support all options available yet, in the C API you can suppress these specific warnings. I should probably expose that in Python as well. You can override all warnings using: freesasa.setVerbosity(freesasa.nowarnings) But, you should probably not include H atoms, the standard atomic radii are designed to work without hydrogens. |
The hydrogen atom is added to match the atom index of other programs, thank you for your help! |
Ok, I have created a task to add the mentioned functionality freesasa/freesasa-python#15 |
Could you teach me to prohibit the waring message? thank you very much!
"""
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and radius 1.100 A
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
FreeSASA: warning: atom 'TRP H' unknown, guessing element is ' H', and radius 1.100 A
FreeSASA: warning: guessing that atom 'N' is symbol ' N'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'O' is symbol ' O'
FreeSASA: warning: guessing that atom 'C' is symbol ' C'
FreeSASA: warning: guessing that atom 'O' is symbol ' O'
FreeSASA: warning: guessing that atom 'H' is symbol ' H'
"""
The text was updated successfully, but these errors were encountered: