From c50d6b9fef2fcf5396c5948e25f06a85f709b136 Mon Sep 17 00:00:00 2001 From: "Kamil A. Kaczmarek" Date: Fri, 5 Oct 2018 17:16:58 +0200 Subject: [PATCH] bug fix (#113) * bug fix * prepare for new version --- docs/conf.py | 2 +- setup.py | 4 ++-- steppy/base.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 56efcad..813dd31 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,7 @@ # The short X.Y version version = '0.1' # The full version, including alpha/beta/rc tags -release = '0.1.12' +release = '0.1.13' # -- General configuration --------------------------------------------------- diff --git a/setup.py b/setup.py index a1802cd..f9e31d5 100644 --- a/setup.py +++ b/setup.py @@ -13,11 +13,11 @@ setup(name='steppy', packages=['steppy'], - version='0.1.12', + version='0.1.13', description='A lightweight, open-source, Python library for fast and reproducible experimentation', long_description=long_description, url='https://github.com/minerva-ml/steppy', - download_url='https://github.com/minerva-ml/steppy/archive/0.1.12.tar.gz', + download_url='https://github.com/minerva-ml/steppy/archive/0.1.13.tar.gz', author='Kamil A. Kaczmarek, Jakub Czakon', author_email='kamil.kaczmarek@neptune.ml, jakub.czakon@neptune.ml', keywords=['machine-learning', 'reproducibility', 'pipeline', 'data-science'], diff --git a/steppy/base.py b/steppy/base.py index 7739a45..5f2c0c3 100644 --- a/steppy/base.py +++ b/steppy/base.py @@ -212,7 +212,6 @@ def __init__(self, assert isinstance(force_fitting, bool), 'Step {} error, force_fitting must be bool, ' \ 'got {} instead.'.format(self.name, type(force_fitting)) - self._validate_upstream_names() logger.info('Initializing Step {}'.format(self.name)) self.transformer = transformer @@ -231,6 +230,7 @@ def __init__(self, self._prepare_experiment_directories() self._mode = 'train' + self._validate_upstream_names() logger.info('Step {} initialized'.format(self.name)) @property