Pdb.PdbFetcherDialog#

PdbFetcherDialog.py

Copyright (c) 2020-2021, SAXS Team, KEK-PF

class PdbFetcherDialog(parent)#

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.

buttonbox()#

add standard button box.

override if you do not want the standard buttons

check_module()#
fetch()#
get_mrc_file_path()#
show()#
start_fetch_thread()#
update_progress_text()#
class ProgressLoghandler(log_text, log_file)#

Bases: Handler

Initializes the instance - basically setting the formatter to None and the filter list to empty.

emit(record)#

Do whatever it takes to actually log the specified logging record.

This version is intended to be implemented by subclasses and so raises a NotImplementedError.

class StdoutRedirector(queue)#

Bases: object

flush()#
write(string)#
get_new_folder(folder)#