Skip to content

Commit

Permalink
MNT #341 Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Jul 10, 2020
1 parent 45e56a2 commit e13e955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apstools/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def summarize_runs(since=None, db=None):
(default: ``db`` from the IPython shell)
"""
db = db or ipython_shell_namespace()["db"]
since = since or "1995"
since = since or "1995" # no APS X-ray experiment data before 1995!
cat = db.v2.search(databroker.queries.TimeRange(since=since))
plans = defaultdict(list)
t0 = time.time()
Expand All @@ -768,7 +768,7 @@ def summarize_runs(since=None, db=None):
)
)
logger.debug(
"%s %s dt1=%4.01fus dt2=%5.01fms",
"%s %s dt1=%4.01fus dt2=%5.01fms %s",
scan_id,
dt,
(t1-t0)*1e6,
Expand Down

0 comments on commit e13e955

Please sign in to comment.