Theory.PdbCrysolRoute#
Theory.PdbCrysolRoute.py
Copyright (c) 2023, SAXS Team, KEK-PF
- class CrysolResultsEntry(parent, num_files)#
Bases:
Dialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- apply()#
process the data
This method is called automatically to process the data, after the dialog is destroyed. By default, it does nothing.
- body(body_frame)#
create dialog body.
return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.
- get_file_paths()#
- show()#
- validate()#
validate the data
This method is called automatically to validate the data before the dialog is destroyed. By default, it always validates OK.
- class PdbCrysolRouteDialog(parent, view_dialog, crysol_folders)#
Bases:
Dialog
Initialize a dialog.
- Parameters:
window (parent -- a parent)
title (title -- the dialog)
- body(body_frame)#
create dialog body.
return widget that should have initial focus. This method should be overridden, and is called by the __init__ method.
- buttonbox()#
add standard button box.
override if you do not want the standard buttons
- draw_curves(fig, axes, to_draw_components, to_draw_folders)#
- get_info(folder)#
- show()#
- compare_to_pdb_impl(view_dialog)#
- demo(dialog)#