Open padix-key opened 5 days ago
I reached out to the MDTraj
developers, asking them about their NumPy 2.0 migration plans: https://github.com/mdtraj/mdtraj/issues/1873#issuecomment-2197294604
After implementation if this issue, they need to be reenabled.
Currently Biotite requires MDTraj as additional dependency only for reading coordinates from trajectory files. However, MDTraj does not support NumPy 2.0, yet, but Biotite 1.0 will require NumPy 2.0. Therefore we could think about removing the dependency by implementing at least the common trajectory file formats
.trr
and.xtc
. Lowering the number of dependencies would also make Biotite more lightweight.To resolve this issue,
TrajectoryFile
classes need to be removed,.trr
and.xtc
(maybe instructure.io.trr
?) and~Taking verbatim code from https://github.com/mdtraj/mdtraj is not possible due to the incompatible license.~ As the
xdrfile
C-library is also GPL licensed, the entire Trajectory code would need to go into a separate extension package, if we decide to drop the MDTraj dependency.