|
|
|
change_plot_colors(axis,
spines=True,
ticks=True,
labels=True,
polar=False) |
|
|
|
|
|
new_page(Elements)
insert page break |
|
|
|
add_vtable(Elements,
table,
style,
width_list)
add table, where header is in the first column |
|
|
|
add_table(Elements,
table,
style,
col_width)
horizontal table, where the header is on the first row |
|
|
|
add_and_parse_SMILES(smiles_str)
parse SMILES string such that it fits on the page |
|
|
|
|
|
get_image(fn,
height,
width) |
|
|
|
report_add_ms_logo(Elements) |
|
|
|
report_add_logo(Elements) |
|
|
|
header(Elements,
txt,
style=<ParagraphStyle 'Heading1'>,
klass=<class reportlab.platypus.paragraph.Paragraph at 0x7f1a12883258>,
sep=0.3) |
|
|
|
get_pargph(txt,
fixed=False,
fontsize=11,
color=' black ' ,
hAlign=' left ' ) |
|
|
|
pargph(Elements,
txt,
fixed=False,
fontsize=11,
color=' black ' ) |
|
|
|
generate_ligand_2d_placeholder(filename,
natoms) |
|
|
|
generate_aligned_2d_ligand_pair(fn_list,
ct1,
ct2,
aligned_core)
Given two ligands, try to generate a 2d-plot where they're aligned. |
|
|
|
generate_ligand_2d_image(filename,
ligand_st=None,
scene=None,
crop=True,
ret_size=False)
given a scene, or a ligand st, output the 2d image |
|
|
|
crop_image(image_in)
get rid of the white background rgb=[255,255,255] |
|
|
|
convertQimageToImage(qimg)
converts QImage object to PIL Image object, in order to crop |
|
|
|
aspectScale(ix,
iy,
bx,
by)
Scale image to fit into box (bx,by) keeping aspect ratio |
|
|
|
|
|
save_2d_annotated_img(structure_item,
filename,
crop=True,
ret_size=False) |
|
|
|
styles = reportlab.lib.styles.getSampleStyleSheet()
|
|
HeaderStyle = <ParagraphStyle 'Heading1'>
|
|
ParaStyle = <ParagraphStyle 'Normal'>
|
|
gray = Color(.53125,.53125,.53125,1)
|
|
colors = [ ' #75D44A ' , ' #BF58CB ' , ' #D44B33 ' , ' #88C7D4 ' , ' #3B3628 ...
|
|
blackColorMap = { 5: 4278190080, 7: 4278190080, 8: 4278190080, ...
|
|
__package__ = ' schrodinger.application.desmond '
|