Skip to content

Commit

Permalink
fix typo in code change
Browse files Browse the repository at this point in the history
  • Loading branch information
jbloom committed Sep 13, 2024
1 parent bde1f64 commit ae469e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evofr/data/variant_frequencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ def __init__(
-------
VariantFrequencies
"""
if (pivot is not None) and (var_name is not None):
raise ValueError("cannot set both pivot and var_name")
if (pivot is not None) and (var_names is not None):
raise ValueError("cannot set both pivot and var_names")

# Get mapping from date to index
if date_to_index is None:
Expand Down

0 comments on commit ae469e1

Please sign in to comment.