Skip to content

Commit 4bf3505

Browse files
committed
Better tqdm for tps_baseline
1 parent 2c5080d commit 4bf3505

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tps_baseline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,6 @@ def step_langevin_backward(_x, _v, _key):
365365
plt.show()
366366
plt.clf()
367367

368-
for i, path in tqdm(enumerate(paths)):
368+
for i, path in tqdm(enumerate(paths), desc='Saving trajectories', total=len(paths)):
369369
save_trajectory(mdtraj_topology, jnp.array([kabsch_align(p.reshape(-1, 3), B.reshape(-1, 3))[0] for p in path]),
370370
f'{savedir}/trajectory_{i}.pdb')

0 commit comments

Comments
 (0)