27 #include <utility/vector1.hh>
28 #include <utility/file/FileName.hh>
29 #include <utility/file/file_sys_util.hh>
35 #include <basic/Tracer.hh>
36 #include <basic/datacache/BasicDataCache.hh>
37 #include <basic/datacache/CacheableString.hh>
39 #include <basic/options/option.hh>
40 #include <basic/options/keys/run.OptionKeys.gen.hh>
46 namespace import_pose {
47 namespace pose_stream {
49 static basic::Tracer
tr(
"core.io.pose_stream" );
82 tr.Debug <<
"renumbering decoys." << std::endl;
83 sfd_->renumber_all_decoys();
87 tr.Debug <<
"ordering by energy" << std::endl;
88 sfd_->order_by_energy();
129 utility_exit_with_message(
130 "SilentFilePoseInputStream: called fill_pose, but I have no more Poses!"
134 using namespace basic::options;
135 using namespace basic::options::OptionKeys;
138 tr.Debug <<
"RMSD to original coordinates for tag "
162 utility_exit_with_message(
163 "SilentFilePoseInputStream: called fill_pose, but I have no more Poses!"
167 using namespace basic::options;
168 using namespace basic::options::OptionKeys;
171 tr.Debug <<
"RMSD to original coordinates for tag "
197 utility_exit_with_message(
198 "SilentFilePoseInputStream: called next_struct, but I have no more structs!"
204 return silent_struct;
209 static basic::Tracer
tr(
"core.io.pose_stream.silent");
215 current_fn_ !=
filenames_.end(); ++current_fn_
219 tr.Error <<
"Hey! Could not find " +
std::string(*current_fn_)
224 tr.Debug <<
"reading " << *current_fn_ << std::endl;
225 if (
tags_.size() > 0 ) {
228 sfd_->read_file( *current_fn_ );
233 tr.Debug <<
"renumbering decoys." << std::endl;
234 sfd_->renumber_all_decoys();
242 tr.Debug <<
"ordering by energy" << std::endl;
243 sfd_->order_by_energy();