Annanilsson-code / ProjectAppliedMolBiophys

Project in the course Applied Molecular Biophysics 2020
1 stars 1 forks source link

This line gives an error when run on the cluster #7

Closed Annanilsson-code closed 3 years ago

Annanilsson-code commented 3 years ago

https://github.com/Annanilsson-code/ProjectAppliedMolBiophys/blob/3994d8dc44090c03cc20fdaaee91308e3ced94a0/cc_calculation.py#L81

This happens when running cc_calculation on the cluster (but not on our own computers).

-bash-4.1$ python cc_calculation.py File "cc_calculation.py", line 79 print(i+1,'\t', j+1, '\t', cc_matrix[i,j], file=f) ^ SyntaxError: invalid syntax

FilipeMaia commented 3 years ago

This is caused by different print syntax in Python 2.