The isoenum-webgui API Reference¶
Isotopic enumerator web interface.
isoenum_webgui.proc¶
This module contains isoenum-webgui data processing/transformation logic, i.e. it calls the appropriate isoenum API methods in order to generate correct InChI, Molfile`s and SVG images based upon input from the `isoenum-webgui.
-
isoenum_webgui.proc.
generate_repr_molfile
(inchi_str, iso_str, chg_str)[source]¶ Generate representative Molfile using isotope and charge specification strings.
Parameters: - inchi_str (str) – InChI string.
- iso_str (str) – Isotope specification.
- chg_str (str) – Charge specification.
Returns: Representative Molfile.
Return type: Molfile
-
isoenum_webgui.proc.
generate_table
(records)[source]¶ Generate InChI table.
Parameters: records (dict) – Global RECORDS store.
-
isoenum_webgui.proc.
create_initial_record
(header, row)[source]¶ Initialize record.
Parameters: - header (list) – Record keys.
- row (list) – Record values.
Returns: Record dictionary.
Return type: dict
-
isoenum_webgui.proc.
update_record
(record)[source]¶ Update record.
Parameters: record (dict) – Record. Returns: Updated record. Return type: dict
-
isoenum_webgui.proc.
create_repr_inchi
(base_inchi_str, iso_str, chg_str)[source]¶ Create representative InChI string.
Parameters: - base_inchi_str (str) – Base InChI string
- iso_str (srr) – Isotope specification.
- chg_str (str) – Charge specification.
Returns: Representative InChI string.
Return type: str
-
isoenum_webgui.proc.
create_svg
(inchi_str)[source]¶ Create SVG from InChI string.
Parameters: inchi_str (str) – InChI string. Returns: SVG string. Return type: str
-
isoenum_webgui.proc.
create_svg_link
(svg_str, record_id, record_type)[source]¶ Create SVG link.
Parameters: - svg_str (str) – SVG string.
- record_id (str) – Record id.
- record_type (str) – Record type: base or repr.
Returns: SVG link.
Return type: str
-
isoenum_webgui.proc.
generate_nmr
(nmr_experiment_type, records)[source]¶ Generate NMR specific InChI tables.
Parameters: - nmr_experiment_type (str) – NMR experiment type.
- records (dict) – Global RECORDS dictionary.
Returns: None.
Return type: None
isoenum_webgui.routes¶
Isotopic enumerator web interface routes.
isoenum_webgui.forms¶
Isotopic enumerator web interface forms.
isoenum_webgui.config¶
This module contains isoenum-webgui application configurations.