Skip to content

Commit

Permalink
Minor modification
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarandon committed Jan 8, 2025
1 parent 39a1935 commit 5a3b2ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ctapipe_io_nectarcam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1179,9 +1179,9 @@ def fill_r0r1_camera_container(self, zfits_event):
waveform = np.full(
(n_pixels, n_samples), fill, dtype=dtype
) # VIM : Replace full by empty ?
waveform[not_broken] = zfits_event.waveform.reshape(
(-1, n_samples)
)[not_broken]
waveform[not_broken] = zfits_event.waveform.reshape((-1, n_samples))[

Check warning on line 1182 in src/ctapipe_io_nectarcam/__init__.py

View check run for this annotation

Codecov / codecov/patch

src/ctapipe_io_nectarcam/__init__.py#L1182

Added line #L1182 was not covered by tests
not_broken
]

reordered_waveform = np.full(
(N_PIXELS, N_SAMPLES), fill, dtype=dtype
Expand Down

0 comments on commit 5a3b2ac

Please sign in to comment.