29 #include <utility/tag/Tag.hh>
30 #include <utility/tools/make_vector1.hh>
33 #include <ObjexxFCL/string.functions.hh>
34 #include <ObjexxFCL/format.hh>
41 #include <basic/Tracer.hh>
47 #include <basic/options/option_macros.hh>
48 #include <utility/excn/Exceptions.hh>
49 #include <basic/options/keys/docking.OptionKeys.gen.hh>
51 static basic::Tracer
tr(
"protocols.docking.DockSetupMover");
60 DockSetupMover::DockSetupMover() {
78 if (
this == &rhs)
return *
this;
106 utility_exit_with_message(
"RigidBodyInfo was not correctly set!" );
122 using namespace ObjexxFCL::fmt;
125 out <<
"////////////////////////////////////////////////////////////////////////////////" << std::endl;
126 out << line_marker <<
A( 47,
"Rosetta 3 DockSetupMover" ) << space( 27 ) << line_marker << std::endl;
127 out << line_marker << space( 74 ) << line_marker << std::endl;
128 out << line_marker <<
A( 47,
"partners: ") <<
A(10,
partners_ ) << space(14) << line_marker << std::endl;
130 out << line_marker <<
A( 47,
"movable jumps: " ) <<
movable_jumps_.front() << space( 26 ) << line_marker<< std::endl;
133 out <<
"////////////////////////////////////////////////////////////////////////////////" << std::endl;
147 using namespace basic::options;
148 partners_ = option[ OptionKeys::docking::partners ]();
159 using namespace core::scoring;
161 if( tag->hasOption(
"partners" ) ){
171 if ( tag->hasOption(
"moveable_jump" ) ) {
178 if ( !data_map.
has(
"RigidBodyInfo",
"docking_setup" ) ) {
182 tr.Debug <<
"added RigidBodyInfo into DataMap" << std::endl;
186 tr.Debug <<
"RigidBodyInfo supposed to be in DataMap, but somehow failed to get it from DataMap" << std::endl;
207 return "DockSetupMover";