schrodinger.application.canvas.utils module¶
Canvas utility functions.
Copyright Schrodinger, LLC. All rights reserved.
- schrodinger.application.canvas.utils.strip_r(file_name)¶
- class schrodinger.application.canvas.utils.chm_excel¶
Bases:
csv.excel
- delimiter = ','¶
- quotechar = '"'¶
- doublequote = True¶
- skipinitialspace = False¶
- lineterminator = '\n'¶
- quoting = 0¶
- class schrodinger.application.canvas.utils.chm_bluebird¶
Bases:
csv.excel
- delimiter = '\t'¶
- quotechar = '"'¶
- doublequote = True¶
- skipinitialspace = False¶
- lineterminator = '\t\n'¶
- quoting = 3¶
- schrodinger.application.canvas.utils.get_license(license_type='LICENSE_FULL')¶
Instantiate a valid Canvas license object or raise an Exception.
- Parameters
license_type (A module-level constant: LICENSE_FULL, LICENSE_SHARED, or LICENSE_FULL_OR_MAIN. Default is LICENSE_FULL.) – The type of license to request.
- Raises
Exception when the license_type isn’t recognized or the requested license is not valid.