PyOpenWorm.datasource_loader module

DataSourceLoaders take a data source identifier and retrieve the primary data (e.g., CSV files, electrode recordings) from some location (e.g., a file store, via a bittorrent tracker).

Each loader can treat the base_directory given as its own namespace and place directories in there however it wants.

exception PyOpenWorm.datasource_loader.LoadFailed(data_source, loader, *args)[source]

Bases: Exception

class PyOpenWorm.datasource_loader.DataSourceDirLoader(base_directory=None)[source]

Bases: object

Loads a data files for a DataSource

The loader is expected to organize files for each data source within the given base directory.