Utility functions for writing Canvas drivers in python.
Copyright Schrodinger, LLC. All rights reserved.
|
|
|
get_range_specification(spec,
max_endpoint=None)
A function to return the ints determined by the string range
specification. |
|
|
|
option_float_varargs_callback(option,
opt_str,
value,
parser)
A callback to be used with the OptionParser to give an option a
variable number of string arguments. |
|
|
|
option_string_varargs_callback(option,
opt_str,
value,
parser)
A callback to be used with the OptionParser to allow an option to
have a variable number of arguments that will be converted to a list
of floats. |
|
|
|
get_driver_option_parser(opts)
A function to create an OptionParser with standard options that are
used in multiple Canvas drivers. |
|
|
|
open_csv(input_file,
delimiter,
y,
independent_vars=None,
field_in=None,
field_out=None)
Return a ChmDelimitedPatterns object that has been opened with
specification of a dependent variable. |
|
|
|
open_multiy_csv(input_file,
delimiter,
y,
independent_vars=None,
field_in=None,
field_out=None)
Return a ChmMultiYDelimitedPatterns object that has been opened with
specification of a dependent variable. |
|
|
|
get_excluded_columns(input_file,
delimiter,
independent_vars=None,
field_in=None,
field_out=None)
Given an input file and delimiter, get the columns that should be
excluded from processing. |
|
|
|
print_report(model_reporter,
output_file=None)
Given a ChmModelReporter, print the log. |
|
|