Closed fgrunewald closed 1 year ago
As far as the behaviour goes the eunit=chain
is really just an edgy edge case. It only comes to be important when two chains, which are labelled as such are connected by a disulphide bridge. Any thing else will end as two separate molecules or one molecule. Thus I think it is fine having the eunit flag being either all, molecule, chain, or residrange.
Added bonus: The behaviour is much more understandable, because almost all people dealing in proteins consider molecule=chain.
Then maybe chain + region was a poorly chosen example. How about molecule + region? You may want an elastic network only within a molecule/chain, but only between resids 200-400. So if you have 2 homodimers that are close together you only want EN between resid 200-400, but not between the two dimers. I think that's not possible with the current CLI suggestion
@Tsjerk any thoughts on this
@pckroon I suggest we roll with this PR for now, so that we can put out a preprint. At least the current PR is better than the buggy behaviour form before.
This fixes #459 at least partially. As stated in the issue there is still some ambiguity as to what exactly should happen if a resid region is defined for a molecule with more than one chain and same resids per chain