From 4a3b725ff5dd01bc7f74b9cdacd2991a62e71cb1 Mon Sep 17 00:00:00 2001 From: kierandidi Date: Tue, 23 Apr 2024 14:58:59 +0100 Subject: [PATCH] [cleanup] change logging levels to debug to declutter output --- graphein/protein/features/sequence/embeddings.py | 4 ++-- graphein/protein/meshes.py | 2 +- graphein/protein/tensor/representation.py | 2 +- graphein/protein/tensor/sequence.py | 2 +- graphein/protein/visualisation.py | 3 ++- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/graphein/protein/features/sequence/embeddings.py b/graphein/protein/features/sequence/embeddings.py index 914bcf85..31f6d5f8 100644 --- a/graphein/protein/features/sequence/embeddings.py +++ b/graphein/protein/features/sequence/embeddings.py @@ -31,7 +31,7 @@ pip_install=True, conda_channel="pytorch", ) - log.warning(message) + log.debug(message) try: import biovec @@ -42,7 +42,7 @@ pip_install=True, extras=True, ) - log.warning(message) + log.debug(message) @lru_cache() diff --git a/graphein/protein/meshes.py b/graphein/protein/meshes.py index a37d2b0f..1f8fc7c4 100644 --- a/graphein/protein/meshes.py +++ b/graphein/protein/meshes.py @@ -27,7 +27,7 @@ conda_channel="pytorch3d", pip_install=True, ) - log.warning(message) + log.debug(message) def check_for_pymol_installation(): diff --git a/graphein/protein/tensor/representation.py b/graphein/protein/tensor/representation.py index 5bbf1426..59b4e873 100644 --- a/graphein/protein/tensor/representation.py +++ b/graphein/protein/tensor/representation.py @@ -24,7 +24,7 @@ conda_channel="pytorch", pip_install=True, ) - log.warning(message) + log.debug(message) def get_full_atom_coords( diff --git a/graphein/protein/tensor/sequence.py b/graphein/protein/tensor/sequence.py index 5f53c0e7..8231a04e 100644 --- a/graphein/protein/tensor/sequence.py +++ b/graphein/protein/tensor/sequence.py @@ -31,7 +31,7 @@ conda_channel="pytorch", pip_install=True, ) - log.warning(message) + log.debug(message) def get_sequence( diff --git a/graphein/protein/visualisation.py b/graphein/protein/visualisation.py index d02bd8dd..c87bcbac 100644 --- a/graphein/protein/visualisation.py +++ b/graphein/protein/visualisation.py @@ -33,7 +33,7 @@ package="pytorch3d", conda_channel="pytorch3d", ) - log.warning(message) + log.debug(message) try: from mpl_chord_diagram import chord_diagram @@ -44,6 +44,7 @@ pip_install=True, extras=True, ) + log.debug(message) def plot_pointcloud(mesh: Meshes, title: str = "") -> Axes3D: