Rosetta 3.5
|
#include <DatabaseJobOutputter.hh>
Public Types | |
typedef protocols::jd2::FileJobOutputter | parent |
![]() | |
typedef protocols::jd2::JobOutputter | parent |
Public Member Functions | |
DatabaseJobOutputter () | |
virtual | ~DatabaseJobOutputter () |
void | load_options_from_option_system () |
load options from option sytem More... | |
void | set_database_name (std::string const &database_name) |
Set database name. More... | |
std::string | get_database_name () const |
Get database name. More... | |
void | set_database_pq_schema (std::string const &database_pq_schema) |
Set database postgreSQL schema. More... | |
std::string | get_database_pq_schema () const |
Get database postgresQL schema. More... | |
virtual void | flush () |
see parent class for explanation More... | |
virtual void | final_pose (protocols::jd2::JobCOP job, core::pose::Pose const &pose) |
this function outputs the final result of a job. More... | |
virtual void | other_pose (protocols::jd2::JobCOP job, core::pose::Pose const &pose, std::string const &tag, int copy_count=-1, bool score_only=false) |
this function is intended for saving mid-protocol poses; for example the final centroid structure in a combined centroid/fullatom protocol. More... | |
virtual bool | job_has_completed (protocols::jd2::JobCOP job) |
this function is not used for output, but it belongs here since it needs to check the same output locations as the class normally writes to. This class checks wherever output goes to see if the job's expected output already exists (on disk or whatever). This is the most basic form of checkpointing. More... | |
virtual std::string | output_name (protocols::jd2::JobCOP job) |
this is the master function for determining the unique output identifier for a job More... | |
![]() | |
FileJobOutputter () | |
virtual | ~FileJobOutputter () |
virtual void | file (JobCOP job, std::string const &data) |
this function takes a string and writes it to disk (separately from Tracer output). More... | |
utility::file::FileName const & | scorefile_name () |
bool | write_scorefile () const |
![]() | |
JobOutputter () | |
virtual | ~JobOutputter () |
virtual void | starting_pose (core::pose::Pose const &) |
optionally pass a starting (reference) pose to a JobOutputter for later comparison purposes and/or as interface for initializing evaluators More... | |
virtual std::string | filename (JobCOP) const |
void | add_evaluation (evaluation::PoseEvaluatorOP) |
void | set_evaluators (evaluation::PoseEvaluators const &) |
void | clear_evaluators () |
clear the list of evaluators More... | |
evaluation::PoseEvaluatorsCOP | evaluators () const |
void | evaluate (core::pose::Pose &pose, std::string tag, core::io::silent::SilentStruct &pss) const |
Static Public Member Functions | |
static void | register_options () |
Private Attributes | |
protocols::features::ProteinSilentReportOP | protein_silent_report_ |
std::string | database_name_ |
std::string | database_pq_schema_ |
Additional Inherited Members | |
![]() | |
virtual void | scorefile (JobCOP job, core::pose::Pose const &pose, std::string tag="", std::string scorefile="") |
this function will handle the scorefile. If you need to make it virtual do so. Latter two arguments are for redirecting the output to a different scorefile for "other_pose"s. Also adds StringReal job info to the score file. More... | |
this is a implementation of JobOutputter for database-based output.
protocols::features::DatabaseJobOutputter::DatabaseJobOutputter | ( | ) |
|
virtual |
|
virtual |
this function outputs the final result of a job.
Implements protocols::jd2::FileJobOutputter.
References database_name_, database_pq_schema_, output_name(), and protein_silent_report_.
|
virtual |
see parent class for explanation
Reimplemented from protocols::jd2::JobOutputter.
std::string protocols::features::DatabaseJobOutputter::get_database_name | ( | ) | const |
Get database name.
References database_name_.
string protocols::features::DatabaseJobOutputter::get_database_pq_schema | ( | ) | const |
Get database postgresQL schema.
References database_pq_schema_.
|
virtual |
this function is not used for output, but it belongs here since it needs to check the same output locations as the class normally writes to. This class checks wherever output goes to see if the job's expected output already exists (on disk or whatever). This is the most basic form of checkpointing.
Implements protocols::jd2::FileJobOutputter.
References database_name_, database_pq_schema_, output_name(), and protein_silent_report_.
void protocols::features::DatabaseJobOutputter::load_options_from_option_system | ( | ) |
load options from option sytem
References set_database_name(), and set_database_pq_schema().
Referenced by DatabaseJobOutputter().
|
virtual |
this function is intended for saving mid-protocol poses; for example the final centroid structure in a combined centroid/fullatom protocol.
Implements protocols::jd2::FileJobOutputter.
References database_name_, database_pq_schema_, and protein_silent_report_.
|
virtual |
this is the master function for determining the unique output identifier for a job
Database tags should preserve the FULL NAME such that we don't end up with duplicate tags. This will cause problems on BOINC if changed.
Implements protocols::jd2::FileJobOutputter.
References protocols::jd2::JobOutputter::affixed_numbered_name().
Referenced by final_pose(), and job_has_completed().
|
static |
void protocols::features::DatabaseJobOutputter::set_database_name | ( | std::string const & | database_name) |
void protocols::features::DatabaseJobOutputter::set_database_pq_schema | ( | std::string const & | database_pq_schema) |
Set database postgreSQL schema.
References database_name_.
Referenced by load_options_from_option_system().
|
private |
|
private |
Referenced by DatabaseJobOutputter(), final_pose(), get_database_pq_schema(), job_has_completed(), and other_pose().
|
private |
Referenced by DatabaseJobOutputter(), final_pose(), job_has_completed(), and other_pose().