diff --git a/big_scape/genbank/cds.py b/big_scape/genbank/cds.py index 7fa691db..752845c6 100644 --- a/big_scape/genbank/cds.py +++ b/big_scape/genbank/cds.py @@ -251,11 +251,11 @@ def parse( not correct_translation and not parent_gbk.source_type == SOURCE_TYPE.MIBIG ): - logging.warning( + logging.debug( "CDS (%s, %s) from %s:" " translation provided by antiSMASH and generated by biopython" - " do not match, consider checking if there is something" - " special with this CDS", + " do not match, likely due to fuzzy starts/ends." + " Consider checking if there is something special with this CDS", nt_start, nt_stop, parent_gbk.path, diff --git a/test/genbank/test_cds.py b/test/genbank/test_cds.py index 13e0cc76..b4d5c9e7 100644 --- a/test/genbank/test_cds.py +++ b/test/genbank/test_cds.py @@ -542,7 +542,7 @@ def test_parse_translation_antismash_larger_mismatch(self): "GADYGLCRVYRNEPWHFELRPEAIEHGCPPLYADPSHDPXXXX" ] - with self.assertLogs(level=logging.INFO) as cm: + with self.assertLogs(level=logging.DEBUG) as cm: logging.info("nonsense") CDS.parse(feature, parent_gbk)