Skip to content

Commit

Permalink
Fix ImportError (#46) (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Kupp authored Jan 15, 2020
1 parent 0e1552a commit a4ab861
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changes

## 2.0.1

- Fix ImportError introduced in 2.0.0

## 2.0.0

- Added a Makefile
Expand Down
4 changes: 2 additions & 2 deletions ffx/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@


def run(train_X, train_y, test_X, test_y, varnames=None, verbose=False):
from ffx import core
from .core import MultiFFXModelFactory

return core.MultiFFXModelFactory().build(train_X, train_y, test_X, test_y, varnames, verbose)
return MultiFFXModelFactory().build(train_X, train_y, test_X, test_y, varnames, verbose)


class FFXRegressor(BaseEstimator, RegressorMixin):
Expand Down
2 changes: 1 addition & 1 deletion ffx/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import click
import numpy as np
import pandas as pd
from ffx.api import run

from .api import run
from .time_utils import time_execution_scope


Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='ffx',
version='2.0.0',
version='2.0.1',
author='Trent McConaghy',
author_email='[email protected]',
maintainer='Nate Kupp',
Expand Down

0 comments on commit a4ab861

Please sign in to comment.