molecule: revert overzealous error checking

This commit is contained in:
Jacob Gissinger
2020-09-23 11:23:10 -04:00
parent 2b30661b07
commit b6d98707ec
3 changed files with 0 additions and 9 deletions

View File

@ -5723,9 +5723,6 @@ Doc page with :doc:`WARNING messages <Errors_warnings>`
*Molecule file has no Fragments section*
Self-explanatory.
*Molecule file has no Molecules section*
Self-explanatory.
*Molecule file has special flags but no bonds*
Self-explanatory.

View File

@ -636,8 +636,6 @@ void Molecule::read(int flag)
error->all(FLERR,"Molecule file has no Body Integers section");
if (bodyflag && ndbody && dbodyflag == 0)
error->all(FLERR,"Molecule file has no Body Doubles section");
if (nmolecules > 0 && !moleculeflag)
error->all(FLERR,"Molecule file has no Molecules section");
if (nfragments > 0 && !fragmentflag)
error->all(FLERR,"Molecule file has no Fragments section");
}

View File

@ -281,10 +281,6 @@ E: Molecule file has no Body Doubles section
Self-explanatory.
E: Molecule file has no Molecules section
Self-explanatory.
E: Molecule file has no Fragments section
Self-explanatory.