Skip to content

Commit

Permalink
Merge pull request #221 from kammerje/OLS_no_mp
Browse files Browse the repository at this point in the history
default maximum_cores='none'
  • Loading branch information
mperrin authored Oct 3, 2024
2 parents 6fa39c5 + 302cf8c commit 86461a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spaceKLIP/coron1pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def run_single_file(fitspath, output_dir, steps={}, verbose=False, **kwargs):
Default: False.
- ramp_fit/maximum_cores : str, optional
max number of parallel processes to create during ramp fitting.
'none', 'quarter', 'half', or 'all'. Default: 'quarter'.
'none', 'quarter', 'half', or 'all'. Default: 'none'.
The default is {}.
Expand Down Expand Up @@ -714,7 +714,7 @@ def run_single_file(fitspath, output_dir, steps={}, verbose=False, **kwargs):
pipeline.ramp_fit.suppress_one_group = kwargs.get('suppress_one_group', False)
# Number of processor cores to use during ramp fitting process
# 'none', 'quarter', 'half', or 'all'
pipeline.ramp_fit.maximum_cores = kwargs.get('maximum_cores', 'quarter')
pipeline.ramp_fit.maximum_cores = kwargs.get('maximum_cores', 'none')

# Set parameters from step dictionary
for key1 in steps.keys():
Expand Down Expand Up @@ -803,7 +803,7 @@ def run_obs(database,
Default: False.
- ramp_fit/maximum_cores : str, optional
max number of parallel processes to create during ramp fitting.
'none', 'quarter', 'half', or 'all'. Default: 'quarter'.
'none', 'quarter', 'half', or 'all'. Default: 'none'.
Default is {}.
Each of these parameters can be passed directly through `kwargs`.
Expand Down

0 comments on commit 86461a9

Please sign in to comment.