Skip to content

Commit

Permalink
Add maude to the guess list for CxoTime
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Sep 25, 2020
1 parent 85383b8 commit 7e0b262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cxotime/cxotime.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ def __init__(self, *args, **kwargs):
fmt = kwargs.get('format')

# Define special formats for guessing and type of accepted vals
fmts_datetime = ('greta', 'secs', 'date')
fmt_dtypes = (np.character, np.number, np.character)
fmts_datetime = ('greta', 'secs', 'date', 'maude')
fmt_dtypes = (np.character, np.number, np.character, np.character)

# Check that scale=UTC for special formats
if fmt in fmts_datetime and kwargs.setdefault('scale', 'utc') != 'utc':
Expand Down

0 comments on commit 7e0b262

Please sign in to comment.