Member Site Forums PyRosetta PyRosetta – General adding coordinate constraints Reply To: adding coordinate constraints

#5389
pbradley
Participant

    thanks, great – I have found CoordinateConstraint. Sorry for the stupid questions I don’t use Python much

    But I am a little confused on how to use it as the initializer asks for two AtomIDs. I would have thought only one AtomID, a coordinate vector and a Func would be necessary unless I’ve misunderstood what this does?


    Type: class
    Base Class:
    String Form:
    Namespace: Interactive
    File: /home/jmacdona/PyRosetta/PyRosetta-Release1.1-r34968.linux.64Bit/rosetta/core/scoring/constraints/_rosetta_core_scoring_constraints_001.so

    Constructor information:
    Docstring:
    __init__( (object)arg1) -> None :
    CoordinateConstraint.hh:44

    C++ signature :
    void __init__(_object*)

    __init__( (object)arg1, (AtomID)a1, (AtomID)fixed_atom_in, (xyzVector)xyz_target_in, (Func)func [, (ScoreType)scotype=rosetta.core.scoring._rosetta_core_scoring_001.ScoreType.coordinate_constraint]) -> None :
    c-tor

    C++ signature :
    void __init__(_object*,core::id::AtomID,core::id::AtomID,numeric::xyzVector,utility::pointer::owning_ptr [,core::scoring::ScoreType=rosetta.core.scoring._rosetta_core_scoring_001.ScoreType.coordinate_constraint])