lsst.sims.ocs.configuration.proposal.helpers module¶
-
lsst.sims.ocs.configuration.proposal.helpers.
load_class
(full_class_string)[source]¶ Dynamically load a class from a string.
This funtion is taken from the following blog: http://thomassileo.com/blog/2012/12/21/dynamically-load-python-modules-or-classes/
Parameters: full_class_string (str) – A standard import like call. Returns: cls – An instance of the class.