schrodinger.application.jaguar.keywordDB module

class schrodinger.application.jaguar.keywordDB.Keyword(name, type, default, description=None, comment=None, index=0, boolean=None, qsite_allowed=None)[source]

Bases: object

A class to hold keyword info.

__init__(name, type, default, description=None, comment=None, index=0, boolean=None, qsite_allowed=None)[source]
get_macro()[source]

Return C-style macro string from Keyword attributes

class schrodinger.application.jaguar.keywordDB.Setting(name, code, value, description=None, comment=None)[source]

Bases: object

A class to hold keyword setting info.

__init__(name, code, value, description=None, comment=None)[source]
get_macro()[source]

Return C-style macro string from Setting attributes

class schrodinger.application.jaguar.keywordDB.DTDTreeBuilder[source]

Bases: xml.etree.ElementTree.TreeBuilder

We create this subclass and redefine doctype() to avoid:
“DeprecationWarning: This method of XMLParser is deprecated.

Define doctype() method on the TreeBuilder target”

doctype(name, pubid, system)[source]
__init__(*args, **kwargs)
close()
comment(text, /)
data(data, /)
end(tag, /)
pi(target, text=None, /)
start(tag, attrs=None, /)
schrodinger.application.jaguar.keywordDB.load_keywords(filename)[source]

Load keywords from an XML file in jaguar_keywords.dtd format. Return a list and dictionary of Keyword objects. Keyword names and values are stored in lowercase.