Skip to content

Commit

Permalink
Fix #34: Pointless check of equality of residue points between index …
Browse files Browse the repository at this point in the history
…and pfr file
  • Loading branch information
BerndDoser committed Jun 24, 2020
1 parent 9936923 commit b8535eb
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/gromacs/gmxana/gmx_fda_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ int gmx_fda_graph(int argc, char *argv[])
if (ftp2bSet(efNDX, NFILE, fnm)) {
fprintf(stderr, "\nSelect group for residue model points:\n");
rd_index(ftp2fn(efNDX, NFILE, fnm), 1, &isize, &index, &grpname);
if (isize != nbParticles) gmx_fatal(FARGS, "Number of atoms in group %i does not match number of FDA points %i.", isize, nbParticles);
}

int frameValue;
Expand Down
1 change: 0 additions & 1 deletion src/gromacs/gmxana/gmx_fda_shortest_path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ int gmx_fda_shortest_path(int argc, char *argv[])
char *grpname;
fprintf(stderr, "\nSelect group for residue model points:\n");
rd_index(ftp2fn(efNDX, NFILE, fnm), 1, &isize, &index, &grpname);
if (isize != nbParticles) gmx_fatal(FARGS, "Number of atoms in group does not match number of FDA points.");

int frameValue;
FrameType frameType = getFrameTypeAndSkipValue(frameString, frameValue);
Expand Down
1 change: 0 additions & 1 deletion src/gromacs/gmxana/gmx_fda_view_stress.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ int gmx_fda_view_stress(int argc, char *argv[])
if (ftp2fn_null(efNDX, NFILE, fnm)) {
fprintf(stderr, "\nSelect group for residue model points:\n");
rd_index(ftp2fn(efNDX, NFILE, fnm), 1, &isize, &index, &grpname);
if (isize != nbParticles) gmx_fatal(FARGS, "Number of atoms in group does not match number of FDA points.");
}

#ifdef PRINT_DEBUG
Expand Down

0 comments on commit b8535eb

Please sign in to comment.