You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2023. It is now read-only.
馃悶 Problem
The function time range is not working as it is used in the quickstart docs. When passing begining and end time it will raise an error.
The following code addapted from the docs will cause the error as shown here:
from poliastro.util import time_range
from astropy.time import Time
start_date = Time("2022-07-11 05:05", scale="utc")
end_date = Time("2022-07-11 07:05", scale="utc")
time_range(start_date, end_date)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In[12], line 4
1 start_date = Time("2022-07-11 05:05", scale="utc")
2 end_date = Time("2022-07-11 07:05", scale="utc")
----> 4 time_range(start_date, end_date)
TypeError: time_range() takes 1 positional argument but 2 were given
馃挕 Possible solutions
This might be one of two things. Either the function works as intended and there is an issue in the docs -> change docs
or the way it is described in the docs is the intended functionality and the code is wrong -> change code.
馃搵 Steps to solve the problem
Decide what the problem is I can then make a commit and create a pull request to solve this.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
馃悶 Problem
The function time range is not working as it is used in the quickstart docs. When passing begining and end time it will raise an error.
The following code addapted from the docs will cause the error as shown here:
馃挕 Possible solutions
This might be one of two things. Either the function works as intended and there is an issue in the docs -> change docs
or the way it is described in the docs is the intended functionality and the code is wrong -> change code.
馃搵 Steps to solve the problem
The text was updated successfully, but these errors were encountered: