Skip to content

Commit aeda5f4

Browse files
author
Roberto Di Remigio
committed
Better error message
1 parent 810ebb9 commit aeda5f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/interface/Input.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ void Input::initMolecule()
314314
std::find_if(atoms.begin(), atoms.end(), invalid);
315315
if (res != atoms.end()) {
316316
std::cout << molecule_ << std::endl;
317-
PCMSOLVER_ERROR("Some atoms do not have a radius attached. Please specify a radius for all atoms!", BOOST_CURRENT_FUNCTION);
317+
PCMSOLVER_ERROR("Some atoms do not have a radius attached. Please specify a radius for all atoms (see http://pcmsolver.readthedocs.org/en/latest/users/input.html)!", BOOST_CURRENT_FUNCTION);
318318
}
319319
}
320320

src/interface/Meddle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ namespace pcm {
496496
std::ostringstream print_mol;
497497
print_mol << molecule << std::endl;
498498
printer(print_mol);
499-
PCMSOLVER_ERROR("Some atoms do not have a radius attached. Please specify a radius for all atoms!", BOOST_CURRENT_FUNCTION);
499+
PCMSOLVER_ERROR("Some atoms do not have a radius attached. Please specify a radius for all atoms (see http://pcmsolver.readthedocs.org/en/latest/users/input.html)!", BOOST_CURRENT_FUNCTION);
500500
}
501501
}
502502

0 commit comments

Comments
 (0)