Skip to content

Commit

Permalink
moving another clock start from the package level to the function level
Browse files Browse the repository at this point in the history
  • Loading branch information
geordie666 committed Mar 26, 2024
1 parent a24656c commit 8712edd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions py/desitarget/streams/io.py
Expand Up @@ -24,9 +24,6 @@
from desiutil.log import get_logger
log = get_logger()

# ADM start the clock.
start = time()

# ADM the standard data model for working with streams.
streamcols = np.array([], dtype=[
('RELEASE', '>i2'), ('BRICKID', '>i4'), ('TYPE', 'S4'),
Expand Down Expand Up @@ -97,6 +94,9 @@ def read_data_per_stream(swdir, rapol, decpol, ra_ref, mind, maxd, stream_name,
is likely a better choice for looping over the entire LS sweeps
data when targeting multiple streams.
"""
# ADM start the clock.
start = time()

# ADM check whether $TARG_DIR exists. If it does, agree to read from
# ADM and write to the cache.
writecache = True
Expand Down

0 comments on commit 8712edd

Please sign in to comment.