jacahill / hPSMC

Tools for F1 hybrid PSMC (hPSMC) divergence time inference from whole genomes
GNU General Public License v3.0
13 stars 10 forks source link

hPSMC: SyntaxError: invalid syntax #8

Open cnxiaobo94 opened 1 year ago

cnxiaobo94 commented 1 year ago

hi, I encountered a problem when doing hPSMC according to the tutorial. When I ran "psmcfa_from_2_fastas.py", the system reported the following error. Could you please help me find out the reason?

(bio2) [cug2202010039@m1001 hpsmc]$ python ../../hPSMC-master/psmcfa_from_2_fastas.py -b10 -m5 AS_N3_autosome.fa EU_Smoose_autosome.fa > AS_EU_hPSMC.psmcfa File "../../hPSMC-master/psmcfa_from_2_fastas.py", line 114 elif indA=="G": ^ SyntaxError: invalid syntax

cnxiaobo94 commented 1 year ago

I have tried both python2 and python3, but it did not work.

aersoares81 commented 5 months ago

It's an indentation problem, and also there's another small problem if you use Python 3. I've fixed them and submitted a pull request.