Member Site › Forums › PyRosetta › PyRosetta – General › How to set options under PyRosetta › Reply To: How to set options under PyRosetta
January 16, 2011 at 2:33 am
#4833
Anonymous
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.init()
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’)