Merge pull request #3027 from yihengwuKP/fix-reorder-remd

Fix the indent and ot bugs in reorder_remd_traj.py
This commit is contained in:
Axel Kohlmeyer
2021-11-17 14:11:12 -05:00
committed by GitHub

View File

@ -459,6 +459,8 @@ if __name__ == "__main__":
# get (unordered) trajectories # get (unordered) trajectories
temps = np.loadtxt(tempfn) temps = np.loadtxt(tempfn)
if not out_temps:
out_temps = temps
ntemps = len(temps) ntemps = len(temps)
intrajfns = ["%s.%d.lammpstrj" % (traj_prefix, k) for k in range(ntemps)] intrajfns = ["%s.%d.lammpstrj" % (traj_prefix, k) for k in range(ntemps)]
# check if the trajs. (or their zipped versions are present) # check if the trajs. (or their zipped versions are present)