schrodinger.application.canvas.utils module¶
Canvas utility functions.
Copyright Schrodinger, LLC. All rights reserved.
-
class
schrodinger.application.canvas.utils.
chm_excel
[source]¶ Bases:
csv.excel
-
delimiter
= ','¶
-
quotechar
= '"'¶
-
doublequote
= True¶
-
skipinitialspace
= False¶
-
lineterminator
= '\n'¶
-
quoting
= 0¶
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
escapechar
= None¶
-
-
class
schrodinger.application.canvas.utils.
chm_bluebird
[source]¶ Bases:
csv.excel
-
delimiter
= '\t'¶
-
quotechar
= '"'¶
-
doublequote
= True¶
-
skipinitialspace
= False¶
-
lineterminator
= '\t\n'¶
-
quoting
= 3¶
-
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-
escapechar
= None¶
-
-
class
schrodinger.application.canvas.utils.
ChmCSVTools
(default_format_in=None, default_format_out=None, case_sensitive=True)[source]¶ Bases:
object
-
__init__
(default_format_in=None, default_format_out=None, case_sensitive=True)[source]¶ Initialize self. See help(type(self)) for accurate signature.
-
rewriteByIndex
(source_file, dest_file, column_indices=[], dialect_in=None, dialect_out=None, one_based=False, action_remove=False)[source]¶
-
-
schrodinger.application.canvas.utils.
get_license
(license_type='LICENSE_FULL')[source]¶ 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.