Skip to content

Commit

Permalink
Merge pull request #35 from kelle/sphinx
Browse files Browse the repository at this point in the history
Sphinx now working with votools and astrodb
  • Loading branch information
hover2pi committed Mar 24, 2016
2 parents 9fe1a3d + a9600e8 commit f7c92d7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 20 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ script:

matrix:
allow_failures:
- env: TRAVIS_PYTHON_VERSION=3.3
- env: TRAVIS_PYTHON_VERSION=3.4
- env: TRAVIS_PYTHON_VERSION=3.5
- python: 3.3
- python: 3.4
- python: 3.5
28 changes: 13 additions & 15 deletions astrodbkit/astrodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,20 @@ def create_database(dbpath):
else: print("Please provide a path and file name with a .db file extension, e.g. /Users/<username>/Desktop/test.db")

class Database:
"""
Initialize the database.
Parameters
----------
dbpath: str
The path to the database file.
Returns
-------
object
The database object
"""
def __init__(self, dbpath):
"""
Initialize the database.
Parameters
----------
dbpath: str
The path to the database file.
Returns
-------
object
The database object
"""

if os.path.isfile(dbpath):

# Create connection
Expand Down
2 changes: 1 addition & 1 deletion docs/astrodb.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
astrodb module
==============

.. automodule:: astrodb
.. automodule:: astrodbkit.astrodb
:members:
:undoc-members:
:show-inheritance:
2 changes: 1 addition & 1 deletion docs/votools.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
votools module
================

.. automodule:: votools
.. automodule:: astrodbkit.votools
:members:
:undoc-members:
:show-inheritance:

0 comments on commit f7c92d7

Please sign in to comment.