aboutsummaryrefslogtreecommitdiff
path: root/r_qtl/r_qtl2.py
diff options
context:
space:
mode:
Diffstat (limited to 'r_qtl/r_qtl2.py')
-rw-r--r--r_qtl/r_qtl2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/r_qtl/r_qtl2.py b/r_qtl/r_qtl2.py
index e74312f..0241458 100644
--- a/r_qtl/r_qtl2.py
+++ b/r_qtl/r_qtl2.py
@@ -12,7 +12,7 @@ from functional_tools import take, chain
from r_qtl.errors import InvalidFormat, MissingFileError
-__FILE_TYPES__ = (
+FILE_TYPES = (
"geno", "founder_geno", "pheno", "covar", "phenocovar", "gmap", "pmap",
"phenose")
@@ -33,7 +33,7 @@ def control_data(zfile: ZipFile) -> dict:
"comment.char": "#",
"sep": ",",
**{
- f"{key}_transposed": False for key in __FILE_TYPES__
+ f"{key}_transposed": False for key in FILE_TYPES
},
**(json.loads(zfile.read(files[0]))
if files[0].endswith(".json")