alinja/snipsa

Python error when creating database

Opened this issue · 0 comments

I get the following error:

FTDNA pos mismatch: Z3646/Y489022(H) 20132837 None {'l': 14, 'g': 'D-PAGES00003', 'raw': 'Z3646', 't': 'C', 'isog': '', 'ftg': 'D-PAGES00003', 'b36': '0', 'b37': '0', 'b38': '20132837'} {'f': '', 'isog': '', 't': '?', 'b38': 'None', 'b37': 'None'}
Traceback (most recent call last):
File "/home/user/snipsa/./haploy_db_import.py", line 32, in
haploy.import_yfull_tree()
File "/home/user/snipsa/haploy.py", line 1094, in import_yfull_tree
yfull_recurse_file('A0-T', 0)
File "/home/user/snipsa/haploy.py", line 1086, in yfull_recurse_file
yfull_recurse_list(ul, level, True)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
[Previous line repeated 3 more times]
File "/home/user/snipsa/haploy.py", line 1055, in yfull_recurse_list
yfull_recurse_file(group, level)
File "/home/user/snipsa/haploy.py", line 1086, in yfull_recurse_file
yfull_recurse_list(ul, level, True)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
File "/home/user/snipsa/haploy.py", line 1047, in yfull_recurse_list
yfull_recurse_list(ul, level+1, False)
[Previous line repeated 4 more times]
File "/home/user/snipsa/haploy.py", line 1010, in yfull_recurse_list
if is_unreliable_b38(dec['b38']):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/snipsa/haploy.py", line 833, in is_unreliable_b38
if int(loc) >= region[0] and int(loc) <= region[1]:
^^^^^^^^
ValueError: invalid literal for int() with base 10: 'None'