Skip to content

misleading info message in compute_rank #7088

Closed

Description

@drammock

in reviewing #7085 I noticed the output of running mne.compute_covariance(epochs, ...) yields the info message

Computing data rank from raw with rank=None

Looks like mne.compute_covariance converts epochs to a numpy array (let's call it "data"), and then _compute_covariance_auto(data, ...) calls compute_rank(RawArray(data.T, ...), ...). So the message will always say you're computing from "raw" regardless of whether you pass in Raw or Epochs

Activity

  1. changed the title [-]misleading info message in compute_covariance[/-] [+]misleading info message in compute_rank[/+] on Nov 20, 2019
  2. larsoner commented on Nov 20, 2019

    @larsoner
    Member

    Yeah it should probably say "Computing rank from data with rank=None" or so, feel free to put it in some PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions