Skip to content

Commit

Permalink
Merge pull request #298 from informatics-lab/fix-cprofile-run
Browse files Browse the repository at this point in the history
fix cProfile has no attr "run" caused by profile.py file
  • Loading branch information
andrewgryan authored Mar 2, 2020
2 parents 643b400 + 10f803b commit 79dc025
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion forest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
.. automodule:: forest.presets
"""
__version__ = '0.12.5'
__version__ = '0.12.6'

from .config import *
from . import (
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion forest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import numpy as np
import os
import glob
from forest import _profile as profile
from forest import (
satellite,
screen,
tools,
profile,
series,
data,
load,
Expand Down
3 changes: 2 additions & 1 deletion test/test_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
import numpy.testing as npt
import datetime as dt
import bokeh.plotting
from forest import screen, profile, redux, rx, config
from forest import screen, redux, rx, config
from forest import _profile as profile


@pytest.mark.parametrize("state,expect", [
Expand Down

0 comments on commit 79dc025

Please sign in to comment.