Commit e6f3f51
committed
Say in the signatures that epochs data may arrive per epoch
BaseEpochs and EpochsArray both accept a list holding one array per
epoch, and tmin may be given per event, but the annotations still
described only the rectangular case, so passing what the docstrings
document was reported as a type error.
The fixed-duration branch of BaseEpochs.__init__ asserts the list is not
present before reshaping, which is the branch it already relies on.1 parent fb3d4f1 commit e6f3f51
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
585 | 587 | | |
586 | 588 | | |
587 | 589 | | |
| |||
639 | 641 | | |
640 | 642 | | |
641 | 643 | | |
642 | | - | |
| 644 | + | |
643 | 645 | | |
644 | 646 | | |
645 | 647 | | |
| |||
807 | 809 | | |
808 | 810 | | |
809 | 811 | | |
| 812 | + | |
810 | 813 | | |
811 | 814 | | |
812 | 815 | | |
| |||
0 commit comments