aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/maintenance')
-rwxr-xr-xscripts/maintenance/load_genotypes.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/maintenance/load_genotypes.py b/scripts/maintenance/load_genotypes.py
index c235a31f..51278d48 100755
--- a/scripts/maintenance/load_genotypes.py
+++ b/scripts/maintenance/load_genotypes.py
@@ -19,7 +19,7 @@ def fetch_parameters(config):
config_dic['dataid'] = datastructure.get_nextdataid_genotype()
config_dic['genofile'] = config.get('config', 'genofile')
print("config dictionary:")
- for k, v in config_dic.items():
+ for k, v in list(config_dic.items()):
print(("\t%s: %s" % (k, v)))
return config_dic
@@ -42,7 +42,7 @@ def parse_genofile(config, config_dic):
if line.lower().startswith("chr"):
#
print("geno file meta dictionary:")
- for k, v in meta_dic.items():
+ for k, v in list(meta_dic.items()):
print(("\t%s: %s" % (k, v)))
#
print(("geno file head:\n\t%s" % line))