Skip to content

Commit

Permalink
Fix ImportError (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Kupp committed Jan 15, 2020
1 parent 0e1552a commit 9e1c9b2
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='gtrent@gmail.com',
maintainer='Nate Kupp',
Expand Down

0 comments on commit 9e1c9b2

Please sign in to comment.