orangecontrib.tomwer.widgets.control.DataTransfertOW.DataTransfertOW#
- class orangecontrib.tomwer.widgets.control.DataTransfertOW.DataTransfertOW(*args, captionTitle=None, **kwargs)#
A simple widget managing the copy of an incoming folder to an other one
- Parameters:
parent – the parent widget
- class Inputs#
- data = Input(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, handler='process', ...)#
- class Outputs#
- data = Output(name='data', type=<class 'tomwer.core.scan.scanbase.TomwerScanBase'>, ...)#
-
description:
str
= 'This widget insure data transfer of the received data to the given directory'# Short widget description, displayed in canvas help tooltips.
- dest_dir_settings = Setting "None"#
Parameters directly editabled from the TOFU interface
- ewokstaskclass#
alias of
ScanTransferTask
-
icon:
str
= 'icons/folder-transfert.svg'# Widget icon path, relative to the defining module.
- id = 'orange.widgets.tomwer.foldertransfert'#
- isCopying()#
-
keywords:
Union
[str
,List
[str
]] = ['tomography', 'transfert', 'cp', 'copy', 'move', 'file', 'tomwer', 'folder']# Widget keywords, used for finding it in the quick menu.
-
name:
str
= 'data transfer'# Widget name, as presented in the Canvas.
-
priority:
int
= 30# Widget priority, used for sorting within a category.
- process(value)#
- reprocess(dataset)#
Reprocess a dataset.
- Parameters:
dataset (Dataset) – dataset to reprocess
- resizing_enabled = True#
Should the widget’s window be resizeable? (if not, the widget will derive a fixed size constraint from its layout)
- scanready#
emit when scan ready
- setDestDir(dest_dir)#
- setForceSync(sync)#
-
settingsHandler:
SettingsHandler
= <orangecontrib.tomwer.orange.settings.CallbackSettingsHandler object># Settings handler, can be overridden for context handling.
- transfertDoneCallback(output_scan)#
- want_main_area = True#
Should the widget construct a mainArea? (a resizable area to the right of the controlArea)