Skip to content

Commit

Permalink
Update jump.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mwregan2 committed Jan 30, 2024
1 parent 9c7d614 commit 2c8d360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stcal/jump/jump.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ def detect_jumps(
),
)
log.info("Creating %d processes for jump detection ", n_slices)
# pool = multiprocessing.Pool(processes=n_slices)
pool = multiprocessing.Pool(processes=n_slices)
######### JUST FOR DEBUGGING #########################
pool = multiprocessing.Pool(processes=1)
# pool = multiprocessing.Pool(processes=1)
# Starts each slice in its own process. Starmap allows more than one
# parameter to be passed.
real_result = pool.starmap(twopt.find_crs, slices)
Expand Down

0 comments on commit 2c8d360

Please sign in to comment.