Ignore warnings
Currently, MDAnalysis raises a couple of warnings that are unrelated for a user:
This module was moved to MDAnalysis.analysis.hydrogenbonds.hbond_autocorrel; hbonds.hbond_autocorrel will be removed in 3.0.0.
Please install the mdahole2 mdakit to use it in MDAnalysis.
More details can be found here: https://www.mdanalysis.org/mdahole2/getting_started.html
Please install the PathSimAnalysis mdakit to use it in MDAnalysis.
More details can be found here: https://www.mdanalysis.org/PathSimAnalysis/getting_started.html
Please install the waterdynamics mdakit to use it in MDAnalysis.
More details can be found here: https://www.mdanalysis.org/waterdynamics/getting_started.html
We should suppress them.
yeah these warning always pops up for every command. Working on it!!
I'm using warnings
Please install the mdahole2 mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/mdahole2/getting_started.html Please install the PathSimAnalysis mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/PathSimAnalysis/getting_started.html Please install the waterdynamics mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/waterdynamics/getting_started.html
These are UserWarning category and I was able to suppress them
But
This module was moved to MDAnalysis.analysis.hydrogenbonds.hbond_autocorrel; hbonds.hbond_autocorrel will be removed in 3.0.0., this is from which category? Can you please tell..
And I have run -
warnings.simplefilter("ignore") and got this -
{path}: DeprecationWarning: This module was moved to MDAnalysis.analysis.hydrogenbonds.hbond_autocorrel; hbonds.hbond_autocorrel will be removed in 3.0.0. warnings.warn(wmsg, category=DeprecationWarning) {path}: UserWarning: Please install the mdahole2 mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/mdahole2/getting_started.html warnings.warn(wmsg, category=UserWarning) {path}: UserWarning: Please install the PathSimAnalysis mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/PathSimAnalysis/getting_started.html warnings.warn(wmsg, category=UserWarning) {path}: UserWarning: Please install the waterdynamics mdakit to use it in MDAnalysis. More details can be found here: https://www.mdanalysis.org/waterdynamics/getting_started.html warnings.warn(wmsg, category=UserWarning)
Instead of showing the whole folder destination I have written path, the main thing to notice is that other warnings are UserWarning, but the first one is DeprecationWarning, even when I'm giving the category as that, it still shows the first line..
Should I just give the plain message to the filterwarning function
Closed by #129