Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Nov 11, 2024
1 parent 4b876ad commit f2e0e97
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_det_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

import pathlib

import numpy as np
import pytest
from legendmeta import TextDB
from legendtestdata import LegendTestData
from pyg4ometry import geant4
import numpy as np

from legendhpges import (
make_hpge,
)
Expand All @@ -28,5 +29,5 @@ def test_surface_area(test_data_configs):
reg = geant4.Registry()
gedet = make_hpge(test_data_configs + "/C99000A.json", registry=reg)

assert len(gedet.surface_area(surface_indices=[]))== 0
assert len(gedet.surface_area(surface_indices=[])) == 0
assert np.sum(gedet.surface_area(surface_indices=None)) > 0

0 comments on commit f2e0e97

Please sign in to comment.