Skip to content

Commit c0efba8

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent c4a67f2 commit c0efba8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/abins/abinsalgorithm.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,7 @@ def get_atom_selection(*, atoms_data: abins.AtomsData, selection: list) -> Tuple
362362
""",
363363
re.VERBOSE,
364364
)
365-
atom_ranges = [
366-
(int(match.group("start")), int(match.group("end"))) for item in selection if (match := atom_range_test.match(item))
367-
]
365+
atom_ranges = [(int(match.group("start")), int(match.group("end"))) for item in selection if (match := atom_range_test.match(item))]
368366

369367
# Acceptable formats for symbol: Ca
370368
element_symbol_test = re.compile(

0 commit comments

Comments
 (0)