Skip to content

Commit

Permalink
woops I made a boo boo that cost me hours of debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Mucephie committed May 19, 2023
1 parent 1dd2ffb commit de359c4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 26 deletions.
23 changes: 0 additions & 23 deletions docs/dorado/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,29 +105,6 @@ Reference/API
:undoc-members:
:no-inheritance-diagram:

API V2
=============

.. automodapi:: dorado.core
:undoc-members:
:no-inheritance-diagram:

API V3
=============

.. automodapi:: dorado
:undoc-members:
:no-inheritance-diagram:

API V4
=============

.. autosummary:: dorado
:recursive:
:undoc-members:
:no-inheritance-diagram:


Contribute
----------

Expand Down
4 changes: 2 additions & 2 deletions dorado/core/readerClass.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from ..ceres import Ceres
from ..stack import Stack
from ..core.coreClass import *
from ..core import utils
from ..core.utils import *

# import utils
import ccdprocx
Expand Down Expand Up @@ -275,7 +275,7 @@ def mkceres(self, date, sub = 'raw', target = None, calibrated = False, aligned
print(len(lights), ' lights found')
if len(lights) > 0:
epoch = lights[0].header['DATE-OBS']
datestr = utils.getDateString(epoch) # TODO import this
datestr = getDateString(epoch) # TODO import this
mjdstr = str(np.round(Time(epoch, format='fits').mjd))
else:
raise Exception("No usable lights found") # NOTE user may want to run calibration files without lights, or have lights without calibration files
Expand Down
2 changes: 1 addition & 1 deletion dorado/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ast = AstrometryNet()

__all__ = [] # ['plate_solve, get_night, get_DateString']
__all__ = ['plate_solve', 'get_night', 'get_DateString']


def plate_solve(dirarray, data = None, writearray = False):
Expand Down

0 comments on commit de359c4

Please sign in to comment.