Annanilsson-code / ProjectAppliedMolBiophys

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

Values change when written to file #3

Closed FilipeMaia closed 3 years ago

FilipeMaia commented 3 years ago

You write that https://github.com/Annanilsson-code/ProjectAppliedMolBiophys/blob/4a0481cb27c25e07f177952885e9cbbe65aa52aa/cc_calculation.py#L170-L178

The change is probably very small and meaningless and it comes from the precision of table_cc.to_string(). You could write your own code to print the matrix to a file using the print() function which has a file argument.