Skip to content

Commit

Permalink
MAINT: apply Colm's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
mj-will committed Oct 9, 2024
1 parent f85b152 commit 9dc52d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bilby/core/prior/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _split_repr(cls, string):
args = string.split(',')
remove = list()
for ii, key in enumerate(args):
for paren_pair in [('(', ')'), ('{', '}')]:
for paren_pair in ['()', '{}', '[]']:
if paren_pair[0] in key:
jj = ii
while paren_pair[1] not in args[jj]:
Expand Down

0 comments on commit 9dc52d8

Please sign in to comment.