Entering edit mode
9.5 years ago
baumsib
•
0
Hello,
I have installed lositan on Windows (Windows 7, Java vers 8, 64-bit) and the example file runs fine. However, when I load my genepop file I get the following error in Java:
Exception in thread "AWT-EventQueue-2" Traceback (most recent call last):
File ".lositan\Main.py", line 853, in actionPerformed
chooseFile()
File ".lositan\Main.py", line 192, in chooseFile
updateAll()
File "\.lositan\Main.py", line 101, in updateAll
selRec2.remove_loci_by_name(remLoci, lpath + os.sep + "sr.tmp")
File "\.lositan\Bio\PopGen\GenePop\FileParser.py", line 337, in remove_loci_by_name
self.remove_loci_by_position(positions, fname)
File "\.lositan\Bio\PopGen\GenePop\FileParser.py", line 311, in remove_loci_by_position
l_parser = old_rec.get_individual()
File "\.lositan\Bio\PopGen\GenePop\FileParser.py", line 183, in get_individual
indiv_name, allele_list, ignore = get_indiv(line)
File "\.lositan\Bio\PopGen\GenePop\__init__.py", line 31, in get_indiv
indiv_name, marker_line = line.split(',')
ValueError: need more than 1 value to unpack
I have tested the genepop file in "genepop on the web" and it runs there without issue. Any ideas what causes this and how to fix it?
Thanks!