20 #include <basic/Tracer.hh>
29 #include <utility/tag/Tag.hh>
31 #include <utility/exit.hh>
32 #include <ObjexxFCL/FArray1D.hh>
33 #include <ObjexxFCL/FArray1D.fwd.hh>
34 #include <ObjexxFCL/format.hh>
40 #include <utility/excn/Exceptions.hh>
44 namespace simple_filters {
47 using namespace core::scoring;
48 using namespace ObjexxFCL::fmt;
50 static basic::Tracer
TR(
"protocols.simple_filters.NMerPSSMEnergyFilter" );
60 protocols::filters::
Filter(
"NMerPSSMEnergy" )
69 protocols::filters::
Filter(
"NMerPSSMEnergy" )
80 if( ! tag->hasOption(
"threshold" ) )
throw utility::excn::EXCN_RosettaScriptsOption(
"Must specify 'threshold' for NMerPSSMEnergyFilter.");
95 TR <<
"NMerPSSM score is " << score <<
". ";
97 TR<<
"passing." << std::endl;
101 TR<<
"failing."<<std::endl;
108 out<<
"NMerPSSM score of " <<
compute( pose )<<
'\n';
123 using namespace core::scoring;
138 if( res_set_vec.size() > 0 ){
139 for(
core::Size i_res_vec = 1; i_res_vec <= res_set_vec.size(); ++i_res_vec ){
140 Size const seqpos( res_set_vec[ i_res_vec ] );