Skip to content

Commit

Permalink
Merge pull request #50 from lsst/tickets/DM-14842
Browse files Browse the repository at this point in the history
DM-14842: Fix deprecation warnings from PropertyList/Set.get
  • Loading branch information
r-owen committed Jun 22, 2018
2 parents cf05001 + bac4d4a commit a74c543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ version.py
.cache
.pytest_cache
pytest_session.txt
.coverage
tests/.tests
doc/html
doc/*.tag
Expand Down
4 changes: 2 additions & 2 deletions bin.src/genInputRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ def processRawDir(rawDir, conn, done):
continue

md = readMetadata(fitsPath)
expTime = md.get("EXPTIME")
mjdObs = md.get("MJD-OBS")
expTime = md.getScalar("EXPTIME")
mjdObs = md.getScalar("MJD-OBS")
taiObs = dafBase.DateTime(mjdObs, dafBase.DateTime.MJD,
dafBase.DateTime.TAI).toString(dafBase.DateTime.UTC)[:-1]
conn.execute("""INSERT INTO raw VALUES
Expand Down

0 comments on commit a74c543

Please sign in to comment.