Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Dealing with files with sweeps within a run of continuous files#275

Description

@KyraBrandeis

crabsort crashed if I had files of different protocols within the same folder (i.e. I would be recording continuously and then do some current or voltage clamp sweeps). I solved the problem going into "loadfile.m" and adding the following lines of code at line 197.

if length(size(self.raw_data))>2
    loadFile(self,src);

end

This pice of code checks to see if there are multiple sweeps (which adds a third dimension to raw_data), and if it finds it, it reloads the next file. This continues until a file with the format of a single sweep is encountered. It seems to be working pretty well so far

Metadata

Metadata

Assignees

Labels

bugsomething is broken

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions