From e2cf3e09ea1477e90f19f3453fdefba67fed9c6d Mon Sep 17 00:00:00 2001 From: Giovanni Bussi <giovanni.bussi@gmail.com> Date: Mon, 6 Jul 2015 08:32:54 +0200 Subject: [PATCH] Changed message about undocumented components I removed the sentence saying that 2.2 will crash. We should likely make it fail on travis-ci so that we remember to add the documentation, but I cannot do it know as one regtest basic/rt44b in v2.2 would fail. --- src/core/ActionWithValue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/ActionWithValue.cpp b/src/core/ActionWithValue.cpp index d56d0caae..c158a44f7 100644 --- a/src/core/ActionWithValue.cpp +++ b/src/core/ActionWithValue.cpp @@ -130,7 +130,7 @@ void ActionWithValue::addComponent( const std::string& name ){ // plumed_massert( keywords.outputComponentExists(name,true), "a description of component " + name + " has not been added to the manual"); if( !keywords.outputComponentExists(name,true) ){ warning("a description of component " + name + " has not been added to the manual. Components should be registered like keywords in " - "registerKeywords as described in the developer docs. In version 2.2 this warning will turn into an error i.e. component registration will be compulsory"); + "registerKeywords as described in the developer docs."); } std::string thename; thename=getLabel() + "." + name; for(unsigned i=0;i<values.size();++i){ @@ -146,7 +146,7 @@ void ActionWithValue::addComponentWithDerivatives( const std::string& name ){ // plumed_massert( keywords.outputComponentExists(name,true), "a description of component " + name + " has not been added to the manual"); if( !keywords.outputComponentExists(name,true) ){ warning("a description of component " + name + " has not been added to the manual. Components should be registered like keywords in " - "registerKeywords as described in the developer doc. In version 2.2 this warning will turn into an error i.e. component registration will be compulsory"); + "registerKeywords as described in the developer doc."); } std::string thename; thename=getLabel() + "." + name; for(unsigned i=0;i<values.size();++i){ -- GitLab