Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
teanijarv committed Feb 24, 2023
1 parent 7ac849e commit 9549793
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Development Lead
----------------

* Toomas Erik Anijärv <[email protected]>
* Rory Boyle <[email protected]

Contributors
------------

* Rory Boyle <[email protected]
3 changes: 1 addition & 2 deletions HLR/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import numpy as np
import pandas as pd
import scipy as scipy
# from IPython.display import display

from HLR import hierarchical_regression

Expand Down Expand Up @@ -153,7 +152,7 @@ def save_results(self, filename='hlr_model_results', show_results=False):
if not self.has_results:
raise ValueError("Do not have results to export.")
if show_results==True:
print(self.model_results) # change to print if necessary
print(self.model_results)

self.model_results.to_excel(self.save_folder+'/'+filename+'.xlsx')

Expand Down
2 changes: 2 additions & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Usage
=====

See GitHub repository for the example dataset and Jupyter Notebook.

To use HLR - Hierarchical Linear Regression in a project::

import pandas as pd
Expand Down
3 changes: 1 addition & 2 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ coverage==4.5.4
Sphinx==1.8.5
twine==1.14.0
Click==7.1.2
pytest==6.2.4

pytest==6.2.4
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,6 @@
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/teanijarv/HLR',
version='0.1.1',
version='0.1.2',
zip_safe=False,
)

0 comments on commit 9549793

Please sign in to comment.