multistage_rosetta_scripts

Bindings for protocols::multistage_rosetta_scripts namespace

class pyrosetta.rosetta.protocols.multistage_rosetta_scripts.NoFailDataMap

Bases: pyrosetta.rosetta.basic.datacache.DataMap

This class does not fail when you try to add an element that already exists. Instead, it just keeps the older element.

assign(self: pyrosetta.rosetta.protocols.multistage_rosetta_scripts.NoFailDataMap, : pyrosetta.rosetta.protocols.multistage_rosetta_scripts.NoFailDataMap) → pyrosetta.rosetta.protocols.multistage_rosetta_scripts.NoFailDataMap

C++: protocols::multistage_rosetta_scripts::NoFailDataMap::operator=(const class protocols::multistage_rosetta_scripts::NoFailDataMap &) –> class protocols::multistage_rosetta_scripts::NoFailDataMap &

has(*args, **kwargs)

Overloaded function.

  1. has(self: pyrosetta.rosetta.basic.datacache.DataMap, type: str) -> bool
  2. has(self: pyrosetta.rosetta.basic.datacache.DataMap, type: str, name: str) -> bool

Does the data map contain an entry with a specific name in the given type?

calling this function without providing a name is just plain wrong and makes no sense and I would be changing that right now if Kale hadn’t already found out that some code relies on this bad behavior back in pull request #187

C++: basic::datacache::DataMap::has(const class std::basic_string<char> &, const class std::basic_string<char> &) const –> bool

has_resource(self: pyrosetta.rosetta.basic.datacache.DataMap, resource_name: str) → bool

Does the data map contain a resource with the given name?

C++: basic::datacache::DataMap::has_resource(const class std::basic_string<char> &) const –> bool

has_type(self: pyrosetta.rosetta.basic.datacache.DataMap, type: str) → bool

Does the data map contain the given type?

C++: basic::datacache::DataMap::has_type(const class std::basic_string<char> &) const –> bool

size(self: pyrosetta.rosetta.basic.datacache.DataMap) → int

returns the size of the map (how many different types are in data_map_

C++: basic::datacache::DataMap::size() const –> unsigned long

class pyrosetta.rosetta.protocols.multistage_rosetta_scripts.PoseForPoseID

Bases: pybind11_builtins.pybind11_object

We do not want to load all of the input poses into memory at once. Instead we use this struct to keep track of the most recent pose loaded (which is assumed to be the most likely one we are going to need next)

assign(self: pyrosetta.rosetta.protocols.multistage_rosetta_scripts.PoseForPoseID, : pyrosetta.rosetta.protocols.multistage_rosetta_scripts.PoseForPoseID) → pyrosetta.rosetta.protocols.multistage_rosetta_scripts.PoseForPoseID

C++: protocols::multistage_rosetta_scripts::PoseForPoseID::operator=(const struct protocols::multistage_rosetta_scripts::PoseForPoseID &) –> struct protocols::multistage_rosetta_scripts::PoseForPoseID &