faircloth-lab / phyluce

software for UCE (and general) phylogenomics
http://phyluce.readthedocs.org/
Other
76 stars 48 forks source link

phyluce_align_format_concatenated_phylip_for_paml not working on the new release #226

Open fvfreitas opened 3 years ago

fvfreitas commented 3 years ago

Hi Bran, Thanks for keeping its great work on phyluce! I tried to use phyluce_align_format_concatenated_phylip_for_paml on phyluce-1.7.0 and 1.7.1 and it didn't work. I received the following error message:

Traceback (most recent call last):
  File "/home/felipe/anaconda3/envs/phyluce-1.7.1/bin/phyluce_align_format_concatenated_phylip_for_paml", line 150, in <module>
    main()
  File "/home/felipe/anaconda3/envs/phyluce-1.7.1/bin/phyluce_align_format_concatenated_phylip_for_paml", line 123, in main
    config.readfp(FakeSecHead(open(args.config)))
  File "/home/felipe/anaconda3/envs/phyluce-1.7.1/lib/python3.6/configparser.py", line 763, in readfp
    self.read_file(fp, source=filename)
  File "/home/felipe/anaconda3/envs/phyluce-1.7.1/lib/python3.6/configparser.py", line 718, in read_file
    self._read(f, source)
  File "/home/felipe/anaconda3/envs/phyluce-1.7.1/lib/python3.6/configparser.py", line 1015, in _read
    for lineno, line in enumerate(fp, start=1):
TypeError: 'FakeSecHead' object is not iterable

When I used the old release it worked normally.