sagarjauhari / BCIpy

Python toolkit to analyze EEG data. We are analyzing EEG data collected by Mostow and Chang from Project LISTEN.
http://bcipy.org
GNU General Public License v3.0
4 stars 4 forks source link

Slicer modifies Slicer.tasks #2

Open sagarjauhari opened 10 years ago

sagarjauhari commented 10 years ago

Based on the current design, after some of the methods, slicer modifies the tasks, for e.x.:

https://github.com/sagarjauhari/eeg_mining/blob/pipeline/slicer.py#L65

Because of this, if slicer object is passed and some other method needs to be called, we need to reload the tasks first and then call another method which uses the original loaded tasks. It'll be good if slicer keeps the original tasks in native form and creates temporary modified tasks when required.