In [ ]:
import os

from thermof.trajectory import change_xyz_trajectories

Enter directory to change the xyz trajectories


In [ ]:
trial_dir = os.path.join(os.getcwd(), '../Results', 'Trial9')

In [ ]:
for trial_index, trial in enumerate(os.listdir(trial_dir), start=1):
    trial_path = os.path.join(trial_dir, trial)
    print('\n%i - %s' % (trial_index, trial))
    change_xyz_trajectories(trial_path)

In [ ]:


In [ ]: