Skip to content

Add an option to output the residue indexes in each leaflet.#24

Open
HubLot wants to merge 1 commit intojbarnoud:masterfrom
HubLot:master
Open

Add an option to output the residue indexes in each leaflet.#24
HubLot wants to merge 1 commit intojbarnoud:masterfrom
HubLot:master

Conversation

@HubLot
Copy link
Contributor

@HubLot HubLot commented Oct 21, 2014

Hi,

I add an option (called print-residue or -i to print the residue id (or indexes) into the standard error at the end of all outputs.
It could be useful to quickly identified which lipids are part of each leaflet.

To avoid modify to heavily the code, I create a new function split_resid based on split. This function is called in split_leaflets which now take another argument and return in all cases 2 dictionnaries : one with the standard atoms group and the other one with the resid groups. The resid groups dictionnary is empty when the option is not set.

@coveralls
Copy link

Coverage Status

Coverage remained the same when pulling 550a208 on HubLot:master into b9db4d5 on jbarnoud:master.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants