From 2c8d36003d62228f3c7072f4af71c440e09097d6 Mon Sep 17 00:00:00 2001 From: Mike Regan Date: Tue, 30 Jan 2024 10:33:50 -0500 Subject: [PATCH] Update jump.py --- src/stcal/jump/jump.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stcal/jump/jump.py b/src/stcal/jump/jump.py index 274ccac6..016017b4 100644 --- a/src/stcal/jump/jump.py +++ b/src/stcal/jump/jump.py @@ -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)