The pbc_cell quantity is being odd depending on the traj file_type - for example, it is not grabbed for the xyz file_type.
However, it is in the data file regardless of traj file_type, so it could be grabbed from there if it can't find it in the traj.
The section with the if elif about choosing the traj file is currently choosing one over another, and not adding them to a list.
The pbc_cell quantity is being odd depending on the traj file_type - for example, it is not grabbed for the xyz file_type.
However, it is in the data file regardless of traj file_type, so it could be grabbed from there if it can't find it in the traj.
The section with the if elif about choosing the traj file is currently choosing one over another, and not adding them to a list.