File: mut-type.patch

package info (click to toggle)
resfinder 4.4.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,240 kB
  • sloc: python: 5,726; sh: 121; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Nilesh Patra
Last-Update: 2023-01-21
Description: Define mut_type

diff --git a/src/resfinder/cge/phenotype2genotype/res_profile.py b/src/resfinder/cge/phenotype2genotype/res_profile.py
index 4ca3cc9..12a2b8e 100644
--- a/src/resfinder/cge/phenotype2genotype/res_profile.py
+++ b/src/resfinder/cge/phenotype2genotype/res_profile.py
@@ -37,6 +37,7 @@ class PhenoDB(dict):
         self.id_to_idwithvar = {}
 
         self.ab_class_defs = ABClassDefinition(abclassdef_file)
+        self.mut_type_is_defined = False
 
         if(acquired_file is None and point_file is None
            and disinf_file is None):