Skip to content

Commit

Permalink
Remove trailing comma after kwargs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuen committed Apr 11, 2024
1 parent d9ae3ee commit 8be3a42
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ic3_labels/weights/mceq_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def __get_spline__(
interaction_model=interaction_model,
primary_model=pmodel,
theta_deg=0.0,
**config_updates,
**config_updates
)
e_grid = np.log10(deepcopy(mceq_run.e_grid))
spline_dicts, flux_dicts = __solve_month__(
Expand Down Expand Up @@ -475,7 +475,7 @@ def __init__(
season="full_year",
flux_type="total",
random_state=None,
**kwargs,
**kwargs
):
"""Initialize MCEQFlux Instance
Expand Down
2 changes: 1 addition & 1 deletion ic3_labels/weights/nuveto_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def __init__(
season="full_year",
flux_type="total",
random_state=None,
**kwargs,
**kwargs
):
"""Initialize AtmosphericNuVeto Instance
Expand Down
2 changes: 1 addition & 1 deletion ic3_labels/weights/resources/cache_simprod_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ def get_metaproject(dataset_id, tray_name, tray_index=None):
* I3Units.deg,
ZenithMax=get_steering_param("NUGEN::zenithmax", type=float)
* I3Units.deg,
**nugen_kwargs,
**nugen_kwargs
)

elif category == "CORSIKA-in-ice":
Expand Down
4 changes: 2 additions & 2 deletions ic3_labels/weights/segments.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ def WeightEvents(
AddMCEqWeights,
"AddMCEqWeights",
n_files=dataset_n_files,
**mceq_kwargs,
**mceq_kwargs
)

if add_nuveto_pf and dataset_type in ["nugen"]:
Expand All @@ -463,7 +463,7 @@ def WeightEvents(
tray.AddModule(
AddNuVetoPassingFraction,
"AddNuVetoPassingFraction",
**nuveto_kwargs,
**nuveto_kwargs
)

if add_mese_weights and dataset_type in ["muongun", "nugen", "genie"]:
Expand Down

0 comments on commit 8be3a42

Please sign in to comment.