raiseLAMMPSConfigFileError("The atom %d with defined mass %f could not be assigned with a tolerance of %f. Please modify the mass in the config file to comply with MDANSE internal database"%(idx,mass,self._tolerance))
raiseLAMMPSConfigFileError("The atoms %s of MDANSE database matches the mass %f with a tolerance of %f. Please modify the mass in the config file to comply with MDANSE internal database"%(el,mass,self._tolerance))
elifnElements>2:
# More than two elements are matching => error
raiseLAMMPSConfigFileError("The atoms %s of MDANSE database matches the mass %f with a tolerance of %f. Please modify the mass in the config file to comply with MDANSE internal database"%(el,mass,self._tolerance))
raiseLAMMPSConfigFileError("The atoms %s of MDANSE database matches the mass %f with a tolerance of %f. Please modify the mass in the config file to comply with MDANSE internal database"%(el,mass,self._tolerance))
m=re.match("^\s*bonds\s*$",line,re.I)
ifm:
...
...
@@ -129,7 +139,8 @@ class LAMMPSConverter(Converter):