Skip to content

Commit

Permalink
Change List to list for annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mjlarson committed Nov 2, 2024
1 parent 4ccb45f commit ac493ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/simweights/_genie_weighter.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from __future__ import annotations

from typing import Any, Iterable, List, Mapping
from typing import Any, Iterable, Mapping

import numpy as np

Expand All @@ -17,7 +17,7 @@


def genie_icetray_surface(
mcweightdict: List[Mapping[str, float]], geniedict: Iterable[Mapping[str, float]], nufraction: float = 0.7
mcweightdict: list[Mapping[str, float]], geniedict: Iterable[Mapping[str, float]], nufraction: float = 0.7
) -> GenerationSurface:
"""Inspect the rows of a GENIE-icetray"s I3MCWeightDict table object to generate a surface object.
Expand Down

0 comments on commit ac493ea

Please sign in to comment.