Skip to content

Commit ad9e69e

Browse files
committed
mypy didn't like my nan
1 parent 9365d4d commit ad9e69e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

malariagen_data/anoph/fst.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ def plot_pairwise_average_fst(
543543
zs = fst / se
544544
fig_df.loc[cohort1, cohort2] = zs
545545
except ZeroDivisionError:
546-
fig_df.loc[cohort1, cohort2] = np.NaN
546+
fig_df.loc[cohort1, cohort2] = np.nan
547547
else:
548548
fig_df.loc[cohort1, cohort2] = fst
549549

0 commit comments

Comments
 (0)