Closed Annanilsson-code closed 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
This is caused by different print syntax in Python 2.
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