![]() |
Rosetta
2021.16
|
A Generic Mover(andPose)Job. Can be subclassed for derived jobs. More...
#include <MoverJob.hh>

Public Member Functions | |
| MoverJob () | |
| ~MoverJob () override | |
| void | pose (core::pose::PoseOP setting) |
| Set the pose this job will run on. More... | |
| jd3::CompletedJobOutput | run () override |
| Run the job on any set private variables (such as a PoseOP) Return a completed job output after this Job is done. More... | |
| void | set_mover (moves::MoverOP mover) |
| Set the Mover this job will run. Use a MoverContainer to use multiple movers. More... | |
| void | add_mover (moves::MoverOP mover) |
| Add a mover to a sequence mover. More... | |
| void | add_metric (core::simple_metrics::SimpleMetricCOP metric, std::string const &data_prefix) |
| Set any metrics for this particular job. The metrics will be stored in the pose so they can eventually be output. More... | |
| void | add_metrics (utility::vector1< core::simple_metrics::SimpleMetricCOP > metrics, std::string const &data_prefix) |
| Set any metrics for this particular job. The metrics will be stored in the pose so they can eventually be output. More... | |
| core::pose::PoseOP | pose () |
| Get a modifieable pose. More... | |
| core::pose::PoseCOP | pose () const |
| Geta the const pose. More... | |
Public Member Functions inherited from protocols::jd3::Job | |
| Job () | |
| ~Job () override | |
Protected Member Functions | |
| virtual job_results::PoseJobResultOP | create_job_result (core::pose::PoseOP pose) |
| PoseJobResult can be derived. More... | |
| virtual job_summaries::StandardPoseJobSummaryOP | create_job_summary (core::pose::Pose const &pose) |
| StandardPoseJobSummary can be derived. More... | |
| moves::MoverOP | mover () |
| Get the mover for this job. More... | |
Private Attributes | |
| moves::MoverOP | mover_ = nullptr |
| core::pose::PoseOP | pose_ |
| std::map< std::string, utility::vector1 < core::simple_metrics::SimpleMetricCOP > > | metrics_ |
| core::scoring::ScoreFunctionOP | scorefxn_ |
| Used in case the pose has does not have an energies object after running the mover. This ensures that all poses are scored, and that the JobSummary has an energy of the pose. More... | |
A Generic Mover(andPose)Job. Can be subclassed for derived jobs.
JobSummary is a StandardPoseJobSummary that includes the energy and a SimpleMetricDataOP for any set metrics. If you require anything else in your JobResult, derive from the PoseJobResult and then derive this class.
| protocols::jd3::jobs::MoverJob::MoverJob | ( | ) |
|
override |
| void protocols::jd3::jobs::MoverJob::add_metric | ( | core::simple_metrics::SimpleMetricCOP | metric, |
| std::string const & | data_prefix | ||
| ) |
Set any metrics for this particular job. The metrics will be stored in the pose so they can eventually be output.
| void protocols::jd3::jobs::MoverJob::add_metrics | ( | utility::vector1< core::simple_metrics::SimpleMetricCOP > | metrics, |
| std::string const & | data_prefix | ||
| ) |
Set any metrics for this particular job. The metrics will be stored in the pose so they can eventually be output.
| void protocols::jd3::jobs::MoverJob::add_mover | ( | moves::MoverOP | mover | ) |
Add a mover to a sequence mover.
Overrides any single Mover set
References protocols::moves::MoverContainer::add_mover().
|
protectedvirtual |
PoseJobResult can be derived.
|
protectedvirtual |
StandardPoseJobSummary can be derived.
|
protected |
Get the mover for this job.
| void protocols::jd3::jobs::MoverJob::pose | ( | core::pose::PoseOP | setting | ) |
Set the pose this job will run on.
| core::pose::PoseOP protocols::jd3::jobs::MoverJob::pose | ( | ) |
Get a modifieable pose.
| core::pose::PoseCOP protocols::jd3::jobs::MoverJob::pose | ( | ) | const |
Geta the const pose.
|
overridevirtual |
Run the job on any set private variables (such as a PoseOP) Return a completed job output after this Job is done.
Implements protocols::jd3::Job.
References protocols::moves::FAIL, protocols::moves::FAIL_BAD_INPUT, protocols::moves::FAIL_DO_NOT_RETRY, protocols::moves::FAIL_RETRY, protocols::jd3::jd3_job_status_failed_do_not_retry, protocols::jd3::jd3_job_status_failed_retry, protocols::jd3::jd3_job_status_inputs_were_bad, protocols::jd3::jd3_job_status_success, protocols::moves::MS_SUCCESS, core::simple_metrics::run_metrics(), and protocols::jd3::CompletedJobOutput::status.
| void protocols::jd3::jobs::MoverJob::set_mover | ( | moves::MoverOP | mover | ) |
Set the Mover this job will run. Use a MoverContainer to use multiple movers.
|
private |
|
private |
|
private |
|
private |
Used in case the pose has does not have an energies object after running the mover. This ensures that all poses are scored, and that the JobSummary has an energy of the pose.
1.8.7