33 #include <basic/Tracer.hh>
36 #include <utility/vector0.hh>
37 #include <utility/vector1.hh>
43 static basic::Tracer
TR(
"core.pack.pack_missing_sidechains");
57 task->initialize_from_command_line();
58 task->restrict_to_repacking();
60 utility::vector1_bool repackable;
62 if (!something_to_pack)
return;
65 task->restrict_to_residues(repackable);
76 utility::vector1_bool& repackable
79 bool any_to_repack(
false);
88 for(
core::Size atomno=restype.first_sidechain_atom(); atomno <= restype.nheavyatoms(); ++atomno) {
91 if ( to_repack.
get(atomid) &&
92 ! restype.is_virtual(atomno) &&
93 restype.atom_type(atomno).name() !=
"ORBS" &&
94 restype.atom_type(atomno).name() !=
"LPbb"
96 TR <<
"packing residue number " << resid <<
" because of missing atom number " << atomno <<
" atom name "
97 << restype.atom_name(atomno) << std::endl;
98 repackable[resid] =
true;
104 return any_to_repack;