33 #include <ObjexxFCL/format.hh>
34 #include <ObjexxFCL/string.functions.hh>
35 #include <basic/prof.hh>
36 #include <basic/Tracer.hh>
46 #include <utility/vector1.hh>
49 static basic::Tracer
tr(
"protocols.noesy_assign.assignments");
52 namespace noesy_assign {
60 spin_assign_index1_( assign_spin1 ),
61 spin_assign_index2_( assign_spin2 ),
62 chemshift_overlap_( 1.0 ),
63 symmetry_compliance_( 0 ),
64 covalent_compliance_( false ),
65 decoy_compatibility_( 1.0 ),
66 network_anchoring_( 1.0 ),
67 network_anchoring_per_residue_( 200 ),
68 native_distance_viol_( -1 )
79 using namespace ObjexxFCL::fmt;
92 * std::min( params.
smax_,
134 basic::ProfileThis doit( basic::NOESY_ASSIGN_PA_GEN_CST );
140 tr.Debug <<
"create constraint for atom: " << atom1 <<
" " << atom2 <<
" from resonances id: "
143 using namespace core::scoring::constraints;
156 runtime_assert( select == 1 || select == 2 );
158 runtime_assert(
crosspeak_->has_label( select ) );
169 tr.Debug <<
" SAME ";
172 for (
Size select = 1; select <=2 &&
match; ++select ) {
187 if ( match )
return true;
189 for (
Size select = 1; select <=2 &&
match; ++select ) {
204 for (
Size select =1; select <= 2; ++select ) {
206 os <<
atom( select ) <<
" ";
208 os <<
"[ " <<
atom( select ) <<
"] ";