sas.guiframe.local_perspectives.data_loader package

Submodules

sas.guiframe.local_perspectives.data_loader.data_loader module

plugin DataLoader responsible of loading data

class sas.guiframe.local_perspectives.data_loader.data_loader.Plugin(standalone=False)[source]

Bases: sas.guiframe.plugin_base.PluginBase

can_load_data()[source]

if return True, then call handler to laod data

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

Receive a list containing folder then return a list of file

help(evt)[source]

Show a general help dialog.

load_complete(output, message='', error_message='', path=None, 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(output=None, 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.guiframe.local_perspectives.data_loader.help_panel module

Help panel for data_loader plugins

class sas.guiframe.local_perspectives.data_loader.help_panel.HelpWindow(parent, title='DataLoader Help', pageToOpen=None)[source]

Bases: wx._windows.Frame

OnLinkClicked(event)[source]

Function to diplay html page related to the hyperlinktext selected

class sas.guiframe.local_perspectives.data_loader.help_panel.ViewApp(redirect=False, filename=None, useBestVisual=False, clearSigInt=True)[source]

Bases: wx._core.App

OnInit()[source]

sas.guiframe.local_perspectives.data_loader.load_thread module

class sas.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.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