Skip to content

Viz

viz.Visualize(context, corr_matrix_object, pths)

A class to facilitate the visualization of the identified paths in VMD

Get paths between a single sink and a single source

PARAMETER DESCRIPTION
context

the user-specified command-line parameters, a UserInput object

residue_keys

a list containing string representations of each residue ("CHAIN_RESNAME_RESID")

node_locs

a dictionary, mapping string representations of each residue to a np.array representation of the node location

pths

a GetPaths object

viz.log(astring, fileobjects, print_viz=False)

Outputs WISP messages

PARAMETER DESCRIPTION
astring

a string containing the message

fileobjects

a list of python file objects specifying where the messages hould be saved.

print_viz

Print viz commands as well.

DEFAULT: False