You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When RVSearch does not find any significant signals to report, the process of creating the summary figure fails due to a gridspec error that claims:
Number of rows must be a positive integer, not {nrows}
ValueError: Number of rows must be a positive integer, not 0
Because RadVel's plot_multipanel() function has a default setting of nophase=False, gridspec tries to create rows in the summary figure equal to the number of planets detected. And if that number of planets is 0, then it throws the above error.
Updating the figure command just under the "#Generate an orbit plot" section in RVSearch to flip the nophase keyword depending on whether or not signals are discovered (as shown below) has fixed this issue for me and may help others as well :)
When RVSearch does not find any significant signals to report, the process of creating the summary figure fails due to a gridspec error that claims:
Because RadVel's plot_multipanel() function has a default setting of nophase=False, gridspec tries to create rows in the summary figure equal to the number of planets detected. And if that number of planets is 0, then it throws the above error.
Updating the figure command just under the "#Generate an orbit plot" section in RVSearch to flip the nophase keyword depending on whether or not signals are discovered (as shown below) has fixed this issue for me and may help others as well :)
The text was updated successfully, but these errors were encountered: