Skip to content

Commit

Permalink
Merge pull request #1 from hoyc1/mode_array_wrap
Browse files Browse the repository at this point in the history
Force mode array to be a list
  • Loading branch information
hoyc1 authored Apr 24, 2024
2 parents 4fd4996 + f2c578a commit 7215643
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bilby_lisa/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def lisa_binary_black_hole(
waveform_approximant="BBHx_IMRPhenomD", relative=False,
)
waveform_kwargs.update(kwargs)
if isinstance(waveform_kwargs["mode_array"], tuple):
waveform_kwargs["mode_array"] = list(waveform_kwargs["mode_array"])
_channels_to_calculate = [
_ for _ in waveform_kwargs["ifos"] if _ in _implemented_channels
]
Expand Down

0 comments on commit 7215643

Please sign in to comment.