Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecates ncpu; use pool_size #631

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Conversation

oscarxblanco
Copy link
Contributor

This PR deprecates the misleading parameter 'ncpu' used on frequency_maps.py, mentioned in #608 (comment)

Instead, an optional parameter pool_size is added with default value set to None.
If ncpu is used, a warning is shown, ncpu is removed from the argumemts and its value is given to pool_size.
pool_size is passed to patpass through kwargs.

Copy link
Contributor

@swhite2401 swhite2401 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me

@oscarxblanco oscarxblanco merged commit 774c1c1 into master Jul 31, 2023
31 checks passed
@oscarxblanco oscarxblanco deleted the frequencymap_deprecate_ncpu branch July 31, 2023 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants