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:
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user