Skip to content

Commit

Permalink
Fix which atoms are reported in DSSP "missing atoms" warning message (#…
Browse files Browse the repository at this point in the history
…1091)

* Fix which atoms are reported in dssp missing atoms warning

* 6.27.2. Revision bump for fixed dssp missing atom warnings

* Have report order be C O N H CA
  • Loading branch information
drroe authored Jul 2, 2024
1 parent 052878b commit 47ba447
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Action_DSSP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,8 @@ Action::RetType Action_DSSP::Setup(ActionSetup& setup)
if (Res->IsMissingAtoms()) {
mprintf("Warning: Res %s is missing atoms", setup.Top().TruncResNameNum( Res->Num() ).c_str());
if (Res->C() == -1) mprintf(" %s", *BB_C_);
if (Res->O() == -1) mprintf(" %s", *BB_N_);
if (Res->N() == -1) mprintf(" %s", *BB_O_);
if (Res->O() == -1) mprintf(" %s", *BB_O_);
if (Res->N() == -1) mprintf(" %s", *BB_N_);
if (Res->H() == -1) mprintf(" %s", *BB_H_);
if (Res->CA() == -1) mprintf(" %s", *BB_CA_);
mprintf("\n");
Expand Down
2 changes: 1 addition & 1 deletion src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Whenever a number that precedes <revision> is incremented, all subsequent
* numbers should be reset to 0.
*/
#define CPPTRAJ_INTERNAL_VERSION "V6.27.1"
#define CPPTRAJ_INTERNAL_VERSION "V6.27.2"
/// PYTRAJ relies on this
#define CPPTRAJ_VERSION_STRING CPPTRAJ_INTERNAL_VERSION
#endif

0 comments on commit 47ba447

Please sign in to comment.