From 3b0903bd4af7073d37094b5db4f63ad6e60a9073 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Mon, 19 Sep 2022 13:10:28 -0500 Subject: [PATCH] minor bug fix --- data/maker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/maker/__init__.py b/data/maker/__init__.py index 21b3017..7f9c0f6 100644 --- a/data/maker/__init__.py +++ b/data/maker/__init__.py @@ -480,7 +480,7 @@ class Generator (Learner): _df = self._df.copy() _df[self.columns] = _iodf[self.columns] N += _df.shape[0] - if self._states : + if self._states and 'post' in self._states: _df = State.apply(_df,self._states['post']) # # # #@TODO: