Skip to content

Print statements to logging calls #42

@brendanjohnharris

Description

@brendanjohnharris

Some feature warnings currently use logging.warning(), but some (e.g. below) use bare print(); it could be good if all info messages use logging.warning or logging.info, so that the messages can be disabled or filtered

print(f"Warning: Not enough samples ({len(y)} {pp_text}) to compute SampEn at multiple scales")
return {'out': np.nan}

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