Skip to content

Commit 67bde44

Browse files
MNT: Apply refurb suggestion
[FURB118]: Replace lambda with `operator.eq`
1 parent 68eac1c commit 67bde44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nibabel/nicom/dicomwrappers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ def series_signature(self):
737737
ice = csar.get_ice_dims(self.csa_header)
738738
if ice is not None:
739739
ice = ice[:6] + ice[8:9]
740-
signature['ICE_Dims'] = (ice, lambda x, y: x == y)
740+
signature['ICE_Dims'] = (ice, operator.eq)
741741
return signature
742742

743743
@one_time

0 commit comments

Comments
 (0)