Skip to content

Commit

Permalink
Skip the doc example in testing
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyasbapat committed Mar 9, 2019
1 parent c21b57f commit b11029c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/sbpy/data.rst
Original file line number Diff line number Diff line change
Expand Up @@ -703,16 +703,16 @@ For using the DASTCOM5 Module, you have to first download the databse locally.
That can be done by:

>>> from sbpy.utils import dastcom5
>>> dastcom5.download_dastcom5()
>>> dastcom5.download_dastcom5() # doctest: +SKIP

After the database is downloaded, all the queries can be done easily.

DASTCOM5 is a subset of Small Body Database provided by JPL, NASA.
For querying the database, either name or record number for the object
can be used.

>>> dastcom5.orbit_from_name('atira')
>>> dastcom5.orbit_from_record(900001)
>>> dastcom5.orbit_from_name('atira') # doctest: +SKIP
>>> dastcom5.orbit_from_record(900001) # doctest: +SKIP

More information about the DASTCOM5 Database can be taken from it's README file.

Expand Down
2 changes: 1 addition & 1 deletion sbpy/data/orbit.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def from_dastcom5(cls, name):
Examples
--------
>>> from sbpy.data import Orbit
>>> orb = Orbit.from_dastcom5('atira')
>>> orb = Orbit.from_dastcom5('atira') # doctest: +SKIP
"""
dastcom5_dir = os.path.join(utils.dastcom5.SBPY_LOCAL_PATH, "dastcom5")
Expand Down

0 comments on commit b11029c

Please sign in to comment.