molecule: revert overzealous error checking
This commit is contained in:
@ -5723,9 +5723,6 @@ Doc page with :doc:`WARNING messages <Errors_warnings>`
|
|||||||
*Molecule file has no Fragments section*
|
*Molecule file has no Fragments section*
|
||||||
Self-explanatory.
|
Self-explanatory.
|
||||||
|
|
||||||
*Molecule file has no Molecules section*
|
|
||||||
Self-explanatory.
|
|
||||||
|
|
||||||
*Molecule file has special flags but no bonds*
|
*Molecule file has special flags but no bonds*
|
||||||
Self-explanatory.
|
Self-explanatory.
|
||||||
|
|
||||||
|
|||||||
@ -636,8 +636,6 @@ void Molecule::read(int flag)
|
|||||||
error->all(FLERR,"Molecule file has no Body Integers section");
|
error->all(FLERR,"Molecule file has no Body Integers section");
|
||||||
if (bodyflag && ndbody && dbodyflag == 0)
|
if (bodyflag && ndbody && dbodyflag == 0)
|
||||||
error->all(FLERR,"Molecule file has no Body Doubles section");
|
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)
|
if (nfragments > 0 && !fragmentflag)
|
||||||
error->all(FLERR,"Molecule file has no Fragments section");
|
error->all(FLERR,"Molecule file has no Fragments section");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -281,10 +281,6 @@ E: Molecule file has no Body Doubles section
|
|||||||
|
|
||||||
Self-explanatory.
|
Self-explanatory.
|
||||||
|
|
||||||
E: Molecule file has no Molecules section
|
|
||||||
|
|
||||||
Self-explanatory.
|
|
||||||
|
|
||||||
E: Molecule file has no Fragments section
|
E: Molecule file has no Fragments section
|
||||||
|
|
||||||
Self-explanatory.
|
Self-explanatory.
|
||||||
|
|||||||
Reference in New Issue
Block a user