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

Use threaded setting from config in dond functions, and make process_params_meas public #3096

Merged
merged 11 commits into from
Jun 8, 2021

Conversation

ThorvaldLarsen
Copy link
Contributor

Create a setting for use_threads in the config to be used in process_params_meas for doNd functions. Allows control of the setting in the config file rather than a required input at runtime.
Additionally makes the measure function public for external use of threaded parameter calls. This could be split out to a separate PR but included here in case there are no objections/concerns with this change.

Bug fix: moved dataset reference up in new dond to handle keyboardinterrupts similar to other functions in file.

@codecov
Copy link

codecov bot commented Jun 8, 2021

Codecov Report

Merging #3096 (ae8aec4) into master (a7ce73a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #3096   +/-   ##
=======================================
  Coverage   65.65%   65.66%           
=======================================
  Files         216      216           
  Lines       28746    28748    +2     
=======================================
+ Hits        18874    18876    +2     
  Misses       9872     9872           

@jenshnielsen
Copy link
Collaborator

@ThorvaldLarsen I think this is how the cutoff_percentile was intended to be specified #3097

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

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

awesome! thank you!

@astafan8 astafan8 changed the title Use threaded setting from config and make process_params_meas public Use threaded setting from config in dond functions, and make process_params_meas public Jun 8, 2021
@astafan8 astafan8 enabled auto-merge June 8, 2021 19:53
@astafan8 astafan8 merged commit f42dc7d into microsoft:master Jun 8, 2021
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

3 participants