testing

Bindings for protocols::testing namespace

class pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover

Bases: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover

A protocols::moves::Mover that packs the side-chains using a rotamer library It uses a ScoreFunction for packing and a PackerTask, or a TaskFactory that generates a PackerTask, for instructions on what rotamer sets are allowed at each residue position during packing

Common Methods:

BenchmarkBuildRotamersMover.apply

please derive from BenchmarkBuildRotamersMover instead of attempting to add protocol-specific stuff here!

apply(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover, pose: pyrosetta.rosetta.core.pose.Pose) None

C++: protocols::testing::BenchmarkBuildRotamersMover::apply(class core::pose::Pose &) –> void

assign(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover, : pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover) pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover

C++: protocols::testing::BenchmarkBuildRotamersMover::operator=(const class protocols::testing::BenchmarkBuildRotamersMover &) –> class protocols::testing::BenchmarkBuildRotamersMover &

clear_info(self: pyrosetta.rosetta.protocols.moves.Mover) None

Strings container can be used to return miscellaneous info (as std::string) from a mover, such as notes about the results of apply(). The job distributor (Apr 09 vintage) will check this function to see if your protocol wants to add string info to the Job that ran this mover. One way this can be useful is that later, a JobOutputter may include/append this info to an output file.

clear_info is called by jd2 before calling apply

C++: protocols::moves::Mover::clear_info() –> void

clone(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover) pyrosetta.rosetta.protocols.moves.Mover

required in the context of the parser/scripting scheme

C++: protocols::testing::BenchmarkBuildRotamersMover::clone() const –> class std::shared_ptr<class protocols::moves::Mover>

static complex_type_generator_for_pack_rotamers_mover(xsd: utility::tag::XMLSchemaDefinition) utility::tag::XMLSchemaComplexTypeGenerator

C++: protocols::minimization_packing::PackRotamersMover::complex_type_generator_for_pack_rotamers_mover(class utility::tag::XMLSchemaDefinition &) –> class std::shared_ptr<class utility::tag::XMLSchemaComplexTypeGenerator>

create(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover

C++: protocols::moves::Mover::create() –> class std::shared_ptr<class protocols::moves::Mover>

fresh_instance(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover) pyrosetta.rosetta.protocols.moves.Mover

required in the context of the parser/scripting scheme

C++: protocols::testing::BenchmarkBuildRotamersMover::fresh_instance() const –> class std::shared_ptr<class protocols::moves::Mover>

get_additional_output(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose

fpd

Mechanism by which a mover may return multiple output poses from a single input pose.

Supported in JD2. Will attempt to grab additional poses until a nullptr is returned.

C++: protocols::moves::Mover::get_additional_output() –> class std::shared_ptr<class core::pose::Pose>

get_current_job(self: pyrosetta.rosetta.protocols.moves.Mover) protocols::jobdist::BasicJob

C++: protocols::moves::Mover::get_current_job() const –> class std::shared_ptr<const class protocols::jobdist::BasicJob>

get_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover) str
A tag is a unique identifier used to identify structures produced

by this Mover. get_current_tag() returns the tag, and set_current_tag( std::string tag ) sets the tag. This functionality is not intended for use with the 2008 job distributor.

C++: protocols::moves::Mover::get_current_tag() const –> std::string

get_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose

C++: protocols::moves::Mover::get_input_pose() const –> class std::shared_ptr<const class core::pose::Pose>

get_last_move_status(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.MoverStatus

returns status after an apply(). The job distributor (august 08 vintage) will check this function to see if your protocol wants to filter its results - if your protocol wants to say “that run was no good, skip it” then use the protected last_move_status(MoverStatus) to change the value that this function will return.

C++: protocols::moves::Mover::get_last_move_status() const –> enum protocols::moves::MoverStatus

get_name(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMover) str

C++: protocols::testing::BenchmarkBuildRotamersMover::get_name() const –> std::string

get_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.core.pose.Pose

C++: protocols::moves::Mover::get_native_pose() const –> class std::shared_ptr<const class core::pose::Pose>

get_self_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.protocols.moves.Mover

C++: protocols::moves::Mover::get_self_ptr() –> class std::shared_ptr<class protocols::moves::Mover>

get_self_weak_ptr(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.weak_ptr_protocols_moves_Mover_t

C++: protocols::moves::Mover::get_self_weak_ptr() –> class std::weak_ptr<class protocols::moves::Mover>

get_type(self: pyrosetta.rosetta.protocols.moves.Mover) str

C++: protocols::moves::Mover::get_type() const –> std::string

info(self: pyrosetta.rosetta.protocols.moves.Mover) pyrosetta.rosetta.std.list_std_string_std_allocator_std_string_t

non-const accessor

C++: protocols::moves::Mover::info() –> class std::list<std::string, class std::allocator<std::string > > &

initialize_task_factory_with_operations(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, : pyrosetta.rosetta.std.list_std_shared_ptr_core_pack_task_operation_TaskOperation_std_allocator_std_shared_ptr_core_pack_task_operation_TaskOperation_t) None

C++: protocols::minimization_packing::PackRotamersMover::initialize_task_factory_with_operations(const class std::list<class std::shared_ptr<class core::pack::task::operation::TaskOperation>, class std::allocator<class std::shared_ptr<class core::pack::task::operation::TaskOperation> > > &) –> void

last_proposal_density_ratio(self: pyrosetta.rosetta.protocols.moves.Mover) float

C++: protocols::moves::Mover::last_proposal_density_ratio() –> double

static mover_name() str

C++: protocols::testing::BenchmarkBuildRotamersMover::mover_name() –> std::string

static name() str

C++: protocols::moves::Mover::name() –> std::string

nloop(*args, **kwargs)

Overloaded function.

  1. nloop(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, nloop_in: int) -> None

C++: protocols::minimization_packing::PackRotamersMover::nloop(unsigned long) –> void

  1. nloop(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) -> int

C++: protocols::minimization_packing::PackRotamersMover::nloop() const –> unsigned long

parse_my_tag(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, : pyrosetta.rosetta.utility.tag.Tag, : pyrosetta.rosetta.basic.datacache.DataMap) None

parse XML (specifically in the context of the parser/scripting scheme)

C++: protocols::minimization_packing::PackRotamersMover::parse_my_tag(class std::shared_ptr<const class utility::tag::Tag>, class basic::datacache::DataMap &) –> void

parse_score_function(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, : pyrosetta.rosetta.utility.tag.Tag, : pyrosetta.rosetta.basic.datacache.DataMap) None

parse “scorefxn” XML option (can be employed virtually by derived Packing movers)

C++: protocols::minimization_packing::PackRotamersMover::parse_score_function(class std::shared_ptr<const class utility::tag::Tag>, const class basic::datacache::DataMap &) –> void

parse_task_operations(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, : pyrosetta.rosetta.utility.tag.Tag, : pyrosetta.rosetta.basic.datacache.DataMap) None

parse “task_operations” XML option (can be employed virtually by derived Packing movers)

C++: protocols::minimization_packing::PackRotamersMover::parse_task_operations(class std::shared_ptr<const class utility::tag::Tag>, const class basic::datacache::DataMap &) –> void

provide_citation_info(self: pyrosetta.rosetta.protocols.moves.Mover, : pyrosetta.rosetta.basic.citation_manager.CitationCollectionList) None
Provide citations to the passed CitationCollectionList

Subclasses should add the info for themselves and any other classes they use.

The default implementation of this function does nothing. It may be overriden by movers wishing to provide citation information.

C++: protocols::moves::Mover::provide_citation_info(class basic::citation_manager::CitationCollectionList &) const –> void

static provide_xml_schema(xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::testing::BenchmarkBuildRotamersMover::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) –> void

static register_options() None

Overload this static method if you access options within the mover.

These options will end up in -help of your application if users of this mover call register_options. Do this recursively! If you use movers within your mover, call their register_options in your register_options() method.

C++: protocols::moves::Mover::register_options() –> void

reinitialize_for_each_job(self: pyrosetta.rosetta.protocols.moves.Mover) bool
Inform the Job Distributor (August ‘08 vintage) whether this object needs to be freshly regenerated on

each use.

C++: protocols::moves::Mover::reinitialize_for_each_job() const –> bool

reinitialize_for_new_input(self: pyrosetta.rosetta.protocols.moves.Mover) bool
Inform the Job Distributor (August ‘08 vintage) whether this object needs to be regenerated when the input

pose is about to change, (for example, if the Mover has special code on the first apply() that is only valid for that one input pose).

C++: protocols::moves::Mover::reinitialize_for_new_input() const –> bool

reset_status(self: pyrosetta.rosetta.protocols.moves.Mover) None

resets status to SUCCESS, meant to be used before an apply(). The job distributor (august 08 vintage) uses this to ensure non-accumulation of status across apply()s.

C++: protocols::moves::Mover::reset_status() –> void

rotamer_sets(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) pyrosetta.rosetta.core.pack.rotamer_set.RotamerSets

Returns the RotamerSets object being used for packing

  • This is only valid after a call to setup or apply.

C++: protocols::minimization_packing::PackRotamersMover::rotamer_sets() const –> class std::shared_ptr<const class core::pack::rotamer_set::RotamerSets>

score_function(*args, **kwargs)

Overloaded function.

  1. score_function(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, sf: pyrosetta.rosetta.core.scoring.ScoreFunction) -> None

Sets the ScoreFunction to <sf>

example(s):

packmover.score_function(scorefxn)

See Also:

PackRotamersMover PackRotamersMover.task

C++: protocols::minimization_packing::PackRotamersMover::score_function(class std::shared_ptr<const class core::scoring::ScoreFunction>) –> void

  1. score_function(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) -> pyrosetta.rosetta.core.scoring.ScoreFunction

Returns the ScoreFunction

example(s):

packmover.score_function()

See Also:

PackRotamersMover PackRotamersMover.task

C++: protocols::minimization_packing::PackRotamersMover::score_function() const –> class std::shared_ptr<const class core::scoring::ScoreFunction>

set_annealer_observer(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, observer: pyrosetta.rosetta.core.pack.annealer.AnnealerObserver) None

C++: protocols::minimization_packing::PackRotamersMover::set_annealer_observer(class std::shared_ptr<class core::pack::annealer::AnnealerObserver>) –> void

set_current_job(self: pyrosetta.rosetta.protocols.moves.Mover, job: protocols::jobdist::BasicJob) None

C++: protocols::moves::Mover::set_current_job(class std::shared_ptr<const class protocols::jobdist::BasicJob>) –> void

set_current_tag(self: pyrosetta.rosetta.protocols.moves.Mover, new_tag: str) None

C++: protocols::moves::Mover::set_current_tag(const std::string &) –> void

set_input_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None

setter for poses contained for rms

C++: protocols::moves::Mover::set_input_pose(class std::shared_ptr<const class core::pose::Pose>) –> void

set_native_pose(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None

setter for native poses contained for rms —- we should get rid of this method? it is widely used, but a bit unsafe

C++: protocols::moves::Mover::set_native_pose(class std::shared_ptr<const class core::pose::Pose>) –> void

set_type(self: pyrosetta.rosetta.protocols.moves.Mover, setting: str) None

Set the ‘type’ string

C++: protocols::moves::Mover::set_type(const std::string &) –> void

show(*args, **kwargs)

Overloaded function.

  1. show(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) -> None

  2. show(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, output: pyrosetta.rosetta.std.ostream) -> None

C++: protocols::minimization_packing::PackRotamersMover::show(std::ostream &) const –> void

task(*args, **kwargs)

Overloaded function.

  1. task(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, t: pyrosetta.rosetta.core.pack.task.PackerTask) -> None

Sets the PackerTask to <t>

example(s):

packmover.task(task_pack)

See Also:

PackRotamersMover PackRotamersMover.task_factory

C++: protocols::minimization_packing::PackRotamersMover::task(class std::shared_ptr<const class core::pack::task::PackerTask>) –> void

  1. task(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) -> pyrosetta.rosetta.core.pack.task.PackerTask

Returns the PackerTask

example(s):

packmover.task()

See Also:

PackRotamersMover PackRotamersMover.task_factory

C++: protocols::minimization_packing::PackRotamersMover::task() const –> class std::shared_ptr<const class core::pack::task::PackerTask>

task_factory(*args, **kwargs)

Overloaded function.

  1. task_factory(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, tf: pyrosetta.rosetta.core.pack.task.TaskFactory) -> None

Sets the TaskFactory to <tf>

example(s):

packmover.task_factory(task_design)

See Also:

PackRotamersMover PackRotamersMover.task

C++: protocols::minimization_packing::PackRotamersMover::task_factory(class std::shared_ptr<const class core::pack::task::TaskFactory>) –> void

  1. task_factory(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover) -> pyrosetta.rosetta.core.pack.task.TaskFactory

Returns the TaskFactory

example(s):

packmover.task_factory()

See Also:

PackRotamersMover PackRotamersMover.task

C++: protocols::minimization_packing::PackRotamersMover::task_factory() const –> class std::shared_ptr<const class core::pack::task::TaskFactory>

task_is_valid(self: pyrosetta.rosetta.protocols.minimization_packing.PackRotamersMover, pose: pyrosetta.rosetta.core.pose.Pose) bool

C++: protocols::minimization_packing::PackRotamersMover::task_is_valid(const class core::pose::Pose &) const –> bool

test_move(self: pyrosetta.rosetta.protocols.moves.Mover, pose: pyrosetta.rosetta.core.pose.Pose) None
: Unit test support function. Apply one move to a given pose.

Allows extra test specific functions to be called before applying

C++: protocols::moves::Mover::test_move(class core::pose::Pose &) –> void

type(*args, **kwargs)

Overloaded function.

  1. type(self: pyrosetta.rosetta.protocols.moves.Mover, type_in: str) -> None

Set the ‘type’ string

C++: protocols::moves::Mover::type(const std::string &) –> void

  1. type(self: pyrosetta.rosetta.protocols.moves.Mover) -> str

Get the set ‘type’ string

C++: protocols::moves::Mover::type() const –> const std::string &

class pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator

Bases: pyrosetta.rosetta.protocols.moves.MoverCreator

assign(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator, : pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator) pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator

C++: protocols::testing::BenchmarkBuildRotamersMoverCreator::operator=(const class protocols::testing::BenchmarkBuildRotamersMoverCreator &) –> class protocols::testing::BenchmarkBuildRotamersMoverCreator &

create_mover(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator) pyrosetta.rosetta.protocols.moves.Mover

C++: protocols::testing::BenchmarkBuildRotamersMoverCreator::create_mover() const –> class std::shared_ptr<class protocols::moves::Mover>

keyname(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator) str

C++: protocols::testing::BenchmarkBuildRotamersMoverCreator::keyname() const –> std::string

static mover_name() str

C++: protocols::testing::BenchmarkBuildRotamersMoverCreator::mover_name() –> std::string

provide_xml_schema(self: pyrosetta.rosetta.protocols.testing.BenchmarkBuildRotamersMoverCreator, xsd: utility::tag::XMLSchemaDefinition) None

C++: protocols::testing::BenchmarkBuildRotamersMoverCreator::provide_xml_schema(class utility::tag::XMLSchemaDefinition &) const –> void