distruct2.3.py

118 views
Skip to first unread message

Vinod Kumar

unread,
Sep 15, 2021, 10:15:56 AM9/15/21
to structure-software

Hi,
I have downloaded the distruct2.3.py but it is giving error:

python3.8 distruct2.2.py
File "distruct2.2.py", line 94
    print "Ordering populations as per ",params['poporder']
                                                       ^
TabError: inconsistent use of tabs and spaces in indentation

python3.8 distruct2.3.py
  File "distruct2.3.py", line 26
    lc = pc.read().splitlines()
                              ^
TabError: inconsistent use of tabs and spaces in indentation


Are these scripts not compatible with python3? Even with python2 there are some other errors.

Thanks,
Vinod,



Vikram Chhatre

unread,
Sep 15, 2021, 10:17:07 AM9/15/21
to structure-software
There is a python3 compatible script in the py3/ folder in your downloaded archive.



--
You received this message because you are subscribed to the Google Groups "structure-software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structure-softw...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/structure-software/a1f03825-fa35-4fd4-b3e0-0c92e5a8fc32n%40googlegroups.com.

Vikram Chhatre

unread,
Sep 15, 2021, 10:54:36 AM9/15/21
to structure-software
Apologies, the py3 compatible script is provided with StrAuto, not with Distruct. What errors are you getting with python 2.x?
Reply all
Reply to author
Forward
0 new messages