Skip to content

Incorrect raw duration displayed in HTML repr #11202

@hoechenberger

Description

@hoechenberger

Originally posted by @hoechenberger in #11196 (comment)

btw there's a bug in the HTML repr that is not present in the text repr:

Screen Shot 2022-09-25 at 02 29 36

import numpy as np
import mne

n_seconds = 1
sfreq = 100
ch_names = ['1']
data = np.ones((len(ch_names), sfreq*n_seconds))
info = mne.create_info(ch_names=ch_names, sfreq=sfreq)
raw = mne.io.RawArray(data, info)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions