Skip to content

Commit

Permalink
Merge pull request #6 from ArtesiaWater/dev
Browse files Browse the repository at this point in the history
Minor release 0.2.1
  • Loading branch information
ArtesiaWater authored Oct 6, 2021
2 parents 125f1c8 + 44a2b4c commit 85bd553
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .prospector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ pep257:

pylint:
disable:
# Disable unnecessary else after return as it complains when returning in an else statement
# which is often more readable
# Disable unnecessary else after return as it complains when
# returning in an else statement which is often more readable
- no-else-return
- too-many-arguments
- too-many-locals
2 changes: 1 addition & 1 deletion traval/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def _validate_input_series(series):
raise TypeError(
"Series must be pandas.Series or pandas.DataFrame!")
# check dtype (of first col)
if dtype != float:
if not dtype in [float, np.float32]:
raise TypeError("Series (or first column of DataFrame) must "
"have dtype float!")
return name
Expand Down
2 changes: 1 addition & 1 deletion traval/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3b.0"
__version__ = "0.2.1"

0 comments on commit 85bd553

Please sign in to comment.