Skip to content

Commit

Permalink
Merge pull request #48 from radio-astro/none-date
Browse files Browse the repository at this point in the history
None date
  • Loading branch information
SpheMakh authored Jan 4, 2019
2 parents 76f82d5 + 8f61492 commit be490fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion simms/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.5"
__version__ = "1.0.6"
2 changes: 1 addition & 1 deletion simms/casasm.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def toFloat(val):
# set date to today (start of observation) if not set by user
# The actual start time will be set internally by CASA depending on when the field transits
use_ha = False
if date is None:
if date in (None, "None"):
td = time.gmtime()
date = "UTC,{0:d}/{1:d}/{02:d}".format(td.tm_year, td.tm_mon, td.tm_mday)
use_ha = True
Expand Down

0 comments on commit be490fc

Please sign in to comment.