Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #521 mol2writefix #616

Merged
merged 3 commits into from
Jan 13, 2016
Merged

Issue #521 mol2writefix #616

merged 3 commits into from
Jan 13, 2016

Conversation

richardjgowers
Copy link
Member

MOL2Writer still needs an AtomGroup or Universe to write (rather than just a Timestep) but I can't see an easy fix for this right now. This at least fixes the issue at hand

Uses TopologyGroups better
MOL2Reader now reads `molecule` and `substructure` into `ts.data` under
the keys `molecule` and `substructure`

Fixed MOL2Reader not reading molecule and substructure on init.

Fixed MOL2Writer loading the frame anew before writing (and overwriting
any changes made to the frame by the user)

MOL2Writer no longer writes an entire trajectory using the `write`
method and instead only writes a single frame (to conform with all other
Writers)
To write an entire trajectory, use a loop
@kain88-de
Copy link
Member

Looks good to me. The first QC issue is actually a real one which should be fixed.

@kain88-de kain88-de self-assigned this Jan 12, 2016
@richardjgowers
Copy link
Member Author

ok done

kain88-de added a commit that referenced this pull request Jan 13, 2016
@kain88-de kain88-de merged commit 8bb02d4 into develop Jan 13, 2016
@kain88-de
Copy link
Member

@jbarnoud is it possible to tell QC to ignore docstring issues for tests?

@jbarnoud
Copy link
Contributor

I do not know. Perhaps @mnmelo knows, he is our QC expert.

@richardjgowers richardjgowers deleted the issue-521-mol2writefix branch January 13, 2016 09:19
@richardjgowers
Copy link
Member Author

@kain88-de I've turned them off

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants