Skip to content

Commit

Permalink
undoing commits before the last one
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzalobenegas committed Aug 5, 2014
1 parent dd5195e commit cdb7ad5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions urbansim/models/regression.py
Expand Up @@ -203,8 +203,7 @@ def _model_fit_to_table(fit):


YTRANSFORM_MAPPING = {
None: '',
'': None,
None: None,
np.exp: 'np.exp',
'np.exp': np.exp,
np.log: 'np.log',
Expand Down
2 changes: 1 addition & 1 deletion urbansim/models/tests/test_regression.py
Expand Up @@ -342,7 +342,7 @@ def test_SegmentedRegressionModel_yaml(groupby_df):
'min_segment_size': 5000,
'default_config': {
'model_expression': 'col1 ~ col2',
'ytransform': ''
'ytransform': None
},
'fitted': False,
'models': {
Expand Down

0 comments on commit cdb7ad5

Please sign in to comment.