Skip to content

Commit

Permalink
expose num events merlict, no need for make_jobs yet
Browse files Browse the repository at this point in the history
  • Loading branch information
relleums committed Dec 20, 2023
1 parent 905e72b commit 43f15bb
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions plenoirf/producing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,14 @@
from . import transform_cherenkov_bunches


def make_jobs(production_dir):
lock = magnetic_deflection.allsky.production.Production(
os.path.join(path, "lock")
)


def make_example_job(
plenoirf_dir,
run_id=1337,
site_key="chile",
particle_key="electron",
instrument_key="diag9_default_default",
num_events=128,
max_num_events_in_merlict_run=12,
):
job = {}
job["run_id"] = run_id
Expand All @@ -52,7 +47,7 @@ def make_example_job(
job["particle_key"] = particle_key
job["instrument_key"] = instrument_key
job["num_events"] = num_events
job["max_num_events_in_merlict_run"] = 12
job["max_num_events_in_merlict_run"] = max_num_events_in_merlict_run
return job


Expand Down

0 comments on commit 43f15bb

Please sign in to comment.