Skip to content

Conversation

drroe
Copy link
Contributor

@drroe drroe commented Aug 18, 2020

Adds a new command, 'graft' which can be used to graft all or part of one COORDS set onto another COORDS set.

> help graft
  [help graft]
	src <source COORDS> [srcframe <#>] [srcfitmask <mask>] [srcmask <mask>]
	tgt <target COORDS> [tgtframe <#>] [tgtfitmask <mask>] [tgtmask <mask>]
	name <output COORDS> [bond <tgt>,<src> ...]

Also adds manual entry and a test.

Note, this functionality was already possible with existing commands (see the test in Test_CombineCrd); this command just simplifies the process a bit.

@drroe drroe added the New Command New command for cpptraj label Aug 18, 2020
@drroe drroe self-assigned this Aug 18, 2020
@lgtm-com
Copy link

lgtm-com bot commented Aug 18, 2020

This pull request introduces 1 alert when merging f414ea1 into 53250cf - view on LGTM.com

new alerts:

  • 1 for Constant return type

@drroe drroe merged commit d6bfe2f into Amber-MD:master Aug 18, 2020
@drroe drroe deleted the graft branch August 18, 2020 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Command New command for cpptraj
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant