aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/genofile_parser.py
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-30 13:06:58 +0300
committerBonfaceKilz2021-04-30 13:45:15 +0300
commit4e65b73a0f903834f8dbd02d11c49b75d7c935c7 (patch)
tree18add06933583233d183e5554fda91a4a46e8191 /wqflask/utility/genofile_parser.py
parent114e7d3395f28ddead0ff3a94c10d0bf534fb493 (diff)
downloadgenenetwork2-4e65b73a0f903834f8dbd02d11c49b75d7c935c7.tar.gz
autopep8: Fix E121,E122,E123,EI24,E125,E126,E127,E128,E129,E131,E133
Diffstat (limited to 'wqflask/utility/genofile_parser.py')
-rw-r--r--wqflask/utility/genofile_parser.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/wqflask/utility/genofile_parser.py b/wqflask/utility/genofile_parser.py
index eb545478..86d9823e 100644
--- a/wqflask/utility/genofile_parser.py
+++ b/wqflask/utility/genofile_parser.py
@@ -37,10 +37,10 @@ class ConvertGenoFile:
self.input_fh = open(input_file)
print("!!!!!!!!!!!!!!!!PARSER!!!!!!!!!!!!!!!!!!")
self.haplotype_notation = {
- '@mat': "1",
- '@pat': "2",
- '@het': "-999",
- '@unk': "-999"
+ '@mat': "1",
+ '@pat': "2",
+ '@het': "-999",
+ '@unk': "-999"
}
self.configurations = {}
@@ -93,7 +93,7 @@ class ConvertGenoFile:
for item_count, genotype in enumerate(genotypes):
if genotype.upper().strip() in self.configurations:
this_marker.genotypes.append(
- self.configurations[genotype.upper().strip()])
+ self.configurations[genotype.upper().strip()])
else:
print("WARNING:", genotype.upper())
this_marker.genotypes.append("NA")