Web

class hippo.web.ProjectPage(output_dir: str | Path, *, animal: HIPPO, scaffolds: CompoundSet | None = None, suppliers: list[str] | None = None, starting_recipe: Recipe | None = None, rgen: RandomRecipeGenerator | None = None, scorer: Scorer | None = None, proposals: list[Recipe] | None = None, title: str | None = None, scaffold_tag: str = 'Syndirella base', extra_recipe_dir: str | Path = None, skip_existing: bool = True)[source]

Recipe proposal web page

accordion() None[source]

sub-content accordion

property animal: HIPPO

associated HIPPO object

property db: Database

associated Database object

property doc: yattag.Doc

yattag.Doc

header() None[source]

Create the page header

property index_path: Path

index.html Path

property line: yattag.line
make_directories() None[source]

Create output directories

property mol_image_dir: Path

Output directory

property output_dir: Path

Output directory

property pose_sdf_dir: Path

Output directory

property resource_dir: Path

Output directory

sec_elaborations() None[source]

Section on elaborations

sec_hits() None[source]

Section on experimental hits

sec_product_pool() None[source]

Section on product_pool

sec_proposals() None[source]

Section on proposals

sec_quoting() None[source]

Section on quoting

sec_rgen() None[source]

Section on rgen

sec_route_pool() None[source]

Section on route_pool

sec_scaffolds() None[source]

Section on scaffolds

sec_scorer() None[source]

Section on scorer

sec_targets() None[source]

Section on targets

section(function) None[source]

create section div

section_header(title: str, tag: str = 'h2') None[source]

section header

setup_page() None[source]

Create the yattag page content

style() None[source]

Create the page style

table(data, style: str = 'w3-table-all w3-responsive', **kwargs)[source]

Embed some data as a table

property tag: yattag.tag
property text: yattag.text
property title: str

Page title

var(key, value, tag=None, separator=': ') None[source]

sub-content accordion

write_html() None[source]

Write the index.html file