The proto-Nucleic-Acid Builder (pNAB)
Namespaces | Functions | Variables
jupyter_widgets.py File Reference

Namespaces

 jupyter_widgets
 A file for displaying widgets in the Jupyter notebook.
 

Functions

def jupyter_widgets.view_nglview (molecule, label=False)
 Display molecules using the NGLView viewer. More...
 
def jupyter_widgets.fixed_bonds (num_bonds, num_atoms, param)
 Display widgets for determining indices of fixed bonds. More...
 
def jupyter_widgets.path (file_path, param)
 Display backbone to Jupyter notebook given a file path. More...
 
def jupyter_widgets.upload_backbone (f, param)
 Upload a backbone file to Jupyter notebook. More...
 
def jupyter_widgets.backbone (param)
 Main backbone widget for use in Jupyter notebook. More...
 
def jupyter_widgets.base_path (file_path, param, base_number)
 Display base to Jupyter notebook given a file path. More...
 
def jupyter_widgets.upload_base (f, param, base_number)
 Upload a base file to Jupyter notebook. More...
 
def jupyter_widgets.add_base (number_of_bases, param)
 Display widgets to upload the requested number of bases. More...
 
def jupyter_widgets.bases (param)
 Bases widget for use in Jupyter notebook. More...
 
def jupyter_widgets.helical_parameters (param)
 
def jupyter_widgets.algorithm (chosen_algorithm, param)
 Display search parameters based on the chosen algorithm. More...
 
def jupyter_widgets.runtime_parameters (param)
 Runtime parameter widget for use in Jupyter notebook. More...
 
def jupyter_widgets.upload_input (param, f)
 Widget to upload an input file. More...
 
def jupyter_widgets.display_options_widgets (param, input_file, uploaded=False)
 Display all widgets in Jupyter notebook given an input file. More...
 
def jupyter_widgets.user_input_file (param)
 Display input file options. More...
 
def jupyter_widgets.run (button)
 Function to run the code when the user finishes specifying all options. More...
 
def jupyter_widgets.extract_options ()
 Extracts user options from the widgets. More...
 
def jupyter_widgets.single_result (result, header, results, prefix)
 Interactive function to display a single result. More...
 
def jupyter_widgets.show_results (results, header, prefix)
 Display results. More...
 
def jupyter_widgets.builder ()
 The function called from the Jupyter notebook to display the widgets. More...
 

Variables

dictionary jupyter_widgets.input_options = {}
 Stores the widgets corresponding to the user-defined options. More...
 

Detailed Description

A file for displaying widgets in the Jupyter notebook