chrisquince / STRONG

Strain Resolution ON Graphs
MIT License
46 stars 9 forks source link

Are we using python2 or python3 in scripts? #47

Closed chrisquince closed 5 years ago

chrisquince commented 5 years ago

The scripts seem to be compatible with python3 but I think they are run through python2 is there a reason for this e.g. Filter_Cogs.py

Sebastien-Raguideau commented 5 years ago

At the start of the script I only specified, #!/usr/bin/env/python, which mean the default available python will be used. We can specify a python version with something like :

!/usr/bin/env/python3

On our server, both python are installed, but the default python remain python2 which why it is executed using python2. Do you want me to specify python on all script? They are all python3 compatible, but also python2 compatible.

chrisquince commented 5 years ago

OK that seems fine, just worth noting that we need to write scripts compatible with both.