point gromacs magic number refs to a specific commit

This commit is contained in:
Simon Bray
2019-11-12 14:07:32 +01:00
parent 8f45f7c59a
commit a115122dea
+4 -4
View File
@@ -957,7 +957,7 @@ class Trr(GmxBinary):
"""
file_ext = "trr"
magic_number = 1993 # magic number reference: https://github.com/gromacs/gromacs/blob/master/src/gromacs/fileio/trrio.cpp
magic_number = 1993 # magic number reference: https://github.com/gromacs/gromacs/blob/cec211b2c835ba6e8ea849fb1bf67d7fc19693a4/src/gromacs/fileio/trrio.cpp
class Cpt(GmxBinary):
@@ -974,7 +974,7 @@ class Cpt(GmxBinary):
"""
file_ext = "cpt"
magic_number = 171817 # magic number reference: https://github.com/gromacs/gromacs/blob/master/src/gromacs/fileio/checkpoint.cpp
magic_number = 171817 # magic number reference: https://github.com/gromacs/gromacs/blob/cec211b2c835ba6e8ea849fb1bf67d7fc19693a4/src/gromacs/fileio/checkpoint.cpp
class Xtc(GmxBinary):
@@ -991,7 +991,7 @@ class Xtc(GmxBinary):
"""
file_ext = "xtc"
magic_number = 1995 # reference: https://github.com/gromacs/gromacs/blob/master/src/gromacs/fileio/xtcio.cpp
magic_number = 1995 # reference: https://github.com/gromacs/gromacs/blob/cec211b2c835ba6e8ea849fb1bf67d7fc19693a4/src/gromacs/fileio/xtcio.cpp
class Edr(GmxBinary):
@@ -1008,7 +1008,7 @@ class Edr(GmxBinary):
"""
file_ext = "edr"
magic_number = -55555 # reference: https://github.com/gromacs/gromacs/blob/master/src/gromacs/fileio/enxio.cpp
magic_number = -55555 # reference: https://github.com/gromacs/gromacs/blob/cec211b2c835ba6e8ea849fb1bf67d7fc19693a4/src/gromacs/fileio/enxio.cpp
class Biom2(H5):