sas.sasgui.guiframe.local_perspectives.data_loader package

Submodules

sas.sasgui.guiframe.local_perspectives.data_loader.data_loader module

plugin DataLoader responsible of loading data

class sas.sasgui.guiframe.local_perspectives.data_loader.data_loader.Plugin[source]

Bases: sas.sasgui.guiframe.plugin_base.PluginBase

can_load_data()[source]

if return True, then call handler to load data

get_data(path, format=None)[source]
get_file_path(path)[source]

Receive a list containing folder then return a list of file

load_complete(output, message='', info='warning')[source]

post message to status bar and return list of data

load_data(event)[source]

Load data

load_error(error=None)[source]

Pop up an error message.

Parameters:error – details error message to be displayed
load_update(message='', info='warning')[source]

print update on the status bar

populate_file_menu()[source]

get a menu item and append it under file menu of the application add load file menu item and load folder item

sas.sasgui.guiframe.local_perspectives.data_loader.load_thread module

Loading thread

class sas.sasgui.guiframe.local_perspectives.data_loader.load_thread.DataReader(path, loader, flag=True, transform_data=None, completefn=None, updatefn=None, yieldtime=0.01, worktime=0.01)[source]

Bases: sas.sascalc.data_util.calcthread.CalcThread

Load a data given a filename

compute()[source]

read some data

isquit()[source]
Raises:KeyboardInterrupt – when the thread is interrupted

Module contents