Back to the main page.
Bug 1176 - assumed number of components/channels should not be hard-coded 10
| Status | CLOSED FIXED |
| Reported | 2011-11-22 15:47:00 +0100 |
| Modified | 2011-11-23 11:30:04 +0100 |
| Product: | FieldTrip |
| Component: | core |
| Version: | unspecified |
| Hardware: | PC |
| Operating System: | Windows |
| Importance: | P3 minor |
| Assigned to: | Johanna |
| URL: | |
| Tags: | |
| Depends on: | |
| Blocks: | |
| See also: |
Johanna - 2011-11-22 15:47:52 +0100
in ft_databrowser, line 158 assumes that you have at least 10 components if 'hascomp'. Setting cfg.channel=1:10 is fine so long as more than 10 components exist, otherwise if fewer, then set to 1:size(data.topo,2).
Johanna - 2011-11-22 15:54:34 +0100
fixed as suggested