From 2ba64d0f78488f8dc9ca2befac387d8163f040cf Mon Sep 17 00:00:00 2001 From: Jacques Dainat Date: Fri, 19 Apr 2019 10:04:10 +0200 Subject: [PATCH] change warn into info for qualifier with value while none expected --- EMBLmyGFF3/modules/qualifier.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EMBLmyGFF3/modules/qualifier.py b/EMBLmyGFF3/modules/qualifier.py index b64bf92..7d7b0e4 100755 --- a/EMBLmyGFF3/modules/qualifier.py +++ b/EMBLmyGFF3/modules/qualifier.py @@ -71,7 +71,7 @@ def _by_value_format(self, value): try: if self.value_format == "none": # no value taken if value: - logging.warn("Qualifier '%s' has value '%s', but %s qualifiers does not take a value" % (self.name, value, self.name)) + logging.info("Qualifier '%s' has value '%s', but none expected." % (self.name, value)) return "" elif self.value_format.startswith("\"\""): # Handle dbxref's self._load_legal_dbxref( LEGAL_DBXREF_FILE )