Skip to content

Commit

Permalink
summary.py: minor fix in case par file contains no F1 value
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpitkin committed Apr 19, 2024
1 parent 05db280 commit 6dd3958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cwinpy/pe/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ def generate_summary_pages(**kwargs):
if p["F0"] is not None:
f0s[psr] = p["F0"]

if p["F1"] is not None:
if len(p["F"]) > 1 and p["F1"] is not None:
fdots[psr] = p["F1"]

# get table of upper limits
Expand Down

0 comments on commit 6dd3958

Please sign in to comment.