Skip to content

Logger setting doesn't seem to work within Jupyter #2

@ashenvi10

Description

@ashenvi10

See Issue #108 on cegpy repo (g-walley/cegpy#108). The logging level needs to be changed in the main package but manually changing the logging level on jupyter doesn't seem to work either.

i.e. the following code does nothing

import logging logging.basicConfig(level=logging.WARNING)

If it works, it should give a warning with the following code for any dataset:

set some_prior and some_alpha
stagedtree.calculate_AHC_transitions(prior = some_prior, alpha = some_alpha)

Expected warning: "Params Warning!! When prior is given, alpha is not required!"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions