Package schrodinger :: Package application :: Package desmond :: Module report_helper
[hide private]
[frames] | no frames]

Module report_helper

Classes [hide private]
  NumberedCanvas
Functions [hide private]
 
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
 
add_spacer(Elements)
 
report_add_ms_logo(Elements)
 
report_add_logo(Elements)
 
header(Elements, txt, style=<ParagraphStyle 'Heading1'>, klass=<class reportlab.platypus.paragraph.Paragraph at 0x30055188>, sep=0.3)
 
get_pargph(txt, fixed=False, fontsize=11, color='black')
 
pargph(Elements, txt, fixed=False, fontsize=11, color='black')
 
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
Variables [hide private]
  styles = reportlab.lib.styles.getSampleStyleSheet()
  HeaderStyle = <ParagraphStyle 'Heading1'>
  ParaStyle = <ParagraphStyle 'Normal'>
  gray = Color(.53125,.53125,.53125,1)
  colors = ['#7064BA', '#83D043', '#BD4F35', '#7BC1BD', '#525D30...
  replica_name = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  __package__ = 'schrodinger.application.desmond'
Variables Details [hide private]

colors

Value:
['#7064BA',
 '#83D043',
 '#BD4F35',
 '#7BC1BD',
 '#525D30',
 '#CEB043',
 '#C04D7C',
 '#4D3646',
...