From e6ca79ea79809e3cdbe089538f499e289b669299 Mon Sep 17 00:00:00 2001 From: Brett Date: Tue, 1 Oct 2024 12:00:33 -0400 Subject: [PATCH] fix make_output_path docstring entry, add description of default buffer_size --- romancal/outlier_detection/utils.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/romancal/outlier_detection/utils.py b/romancal/outlier_detection/utils.py index d1ccec1e2..f3498e4ed 100644 --- a/romancal/outlier_detection/utils.py +++ b/romancal/outlier_detection/utils.py @@ -50,13 +50,13 @@ def _median_with_resampling( if True, save the drizzled models and median model to fits. make_output_path : function - The functools.partial instance to pass to save_median. Must be - specified if save_intermediate_results is True. Default None. + The functools.partial instance to pass to save_median. buffer_size : int The size of chunk in bytes that will be read into memory when computing the median. This parameter has no effect if the input library has its on_disk attribute - set to False. + set to False. If None or 0 the buffer size will be set to the size of one + input image. """ if not resamp.single: raise ValueError(