Skip to content

Commit

Permalink
Fix missing comma in function parameters (#40)
Browse files Browse the repository at this point in the history
* Fixing missing comma in function parameters

* Update version to 1.6.2
  • Loading branch information
jerematt authored May 13, 2020
1 parent be6cb34 commit f2a02d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def quick_predict(tle, ts, qth):
return _quick_predict(tle, ts, qth)


STR_TYPE = str if sys.version_info.major > 2 else basestring # Quick python3 compatibility
STR_TYPE = str if sys.version_info.major > 2 else basestring # noqa: F821


def host_qth(path="~/.predict/predict.qth"):
Expand Down Expand Up @@ -180,7 +180,7 @@ def at(self, t, epsilon=0.001):
return observe(self.tle, self.qth, t)


def find_solar_periods(start, end, tle, eclipse=False, eclipse_depth_threshold=0
def find_solar_periods(start, end, tle, eclipse=False, eclipse_depth_threshold=0,
large_predict_timestep=20, small_predict_timestep=1):
"""
Finds all sunlit (or eclipse, if eclipse is set) windows for a tle within a time range
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

setup(
name="pypredict",
version="1.6.1",
version="1.6.2",
author="Jesse Trutna",
author_email="jesse@spire.com",
url="https://github.com/nsat/pypredict",
Expand Down

0 comments on commit f2a02d8

Please sign in to comment.