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

Set i_batch for SubmitterLocal when submitting #164

Merged
merged 1 commit into from
Jun 7, 2024

Conversation

dachengx
Copy link
Collaborator

@dachengx dachengx commented Jun 6, 2024

The you can initialize the runner for i_batch toyMC:

submitter = SubmitterLocal.from_config(
    config_path,
    computation='sensitivity',
    outputfolder=outputfolder,
    debug=True,
    resubmit=True,
    i_batch=i_batch,
)
runner = submitter.submit()

For the toydata_filename in

toydata_filename: "toyfile_wimp_mass_{wimp_mass:d}_poi_expectation_{poi_expectation:.2f}.ii.h5",
will be toyfile_wimp_mass_50_poi_expectation_0.00.ii_2.h5 when i_batch is assigned to be 2.

@coveralls
Copy link

coveralls commented Jun 6, 2024

Pull Request Test Coverage Report for Build 9402268577

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.004%) to 91.983%

Totals Coverage Status
Change from base Build 8901779260: 0.004%
Covered Lines: 1549
Relevant Lines: 1684

💛 - Coveralls

@dachengx dachengx requested a review from hammannr June 6, 2024 14:05
@dachengx dachengx merged commit cce3ea0 into main Jun 7, 2024
7 checks passed
@dachengx dachengx deleted the local_submitter_i_batch branch June 7, 2024 12:55
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.

2 participants