Closed jhprinz closed 7 years ago
Well, this is done.
Trajectories are by default folders now. I have also simplified a lot of the API, so have a look at example notebooks 4 and 5 to see how this works.
This does not add capabilities to work with reduced trajectories, but makes this easy to add.
What is tricky with trajectories is to access a file in the traj folder. You can use
traj.file('myfile')
to get the location of this file, so instead of moving with
bash = 'mv %s %s' % (traj_file, target_file)
# new
bash = 'mv %s %s' % (traj.file('output.dcd')', target.file('traj.dcd'))
I checked all examples and it should work better. There are also some little bugfixes for the RPC calls.
If there are no objections I would merge this.
Thanks, that looks good to me. Please go ahead.
Almost done. Explanation will come tomorrow...
Trajectories
are now foldersThis also contains all of the other changes as well. We will then have full flexibility in the output files of a simulation