Member Site Forums PyRosetta PyRosetta – General How to set options under PyRosetta Reply To: How to set options under PyRosetta


    PyRosetta use it’s own option set/get functions:
    void rosetta.core.set_string_option( OPTION_NAME, VALUE )
    VALUE rosetta.core.get_string_option( OPTION_NAME )

    Here a few usage examples:
    import rosetta

    rosetta.core.set_string_option(‘in:file:frag3’, ‘my_frag3_file’)
    print rosetta.core.get_string_option(‘in:file:frag3’)

    rosetta.core.set_file_vector_option(‘in:file:s’, rosetta.Vector1())
    print rosetta.core.get_file_vector_option(‘in:file:s’)