Table Of Contents

Previous topic

pyviblib.io.parsers

Next topic

pyviblib.io.writers

This Page

pyviblib.io.workspace

Handling PyVib2 workspace files

Functions

save_workspace()
save a workspace in an sqlite file
restore_workspace()
restore a workspace from an sqlite file
Author:Maxim Fedorovsky
pyviblib.io.workspace.save_workspace(filename, molecules, windows)

Save a workspace in an sqlite file.

Parameters:
  • filename – sqlite file name to save the workspace in
  • molecules – list of molecules
  • windows – list of windows
Raise:

any exceptions

pyviblib.io.workspace.restore_workspace(filename, mainApp)

Restore a workspace from an sqlite file.

Parameters:
  • filename – sqlite file name to load the workspace from
  • mainApp – reference to the main window of PyVib2
Raise:

any exceptions


SourceForge.net Logo