Skip to content

Commit

Permalink
MNT: Remove space before format string argument (flake8:E201)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottclowe committed Feb 9, 2025
1 parent cb6a88a commit 516ad2b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/data_split.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@ def split_df(filename):

# Number of repeated species from "test" split in pretrain split
intersection_records = set(train_species).intersection(set(test_species))
print(f"There are { len(intersection_records)} repeated species from test split in train split")
print(f"There are {len(intersection_records)} repeated species from test split in train split")
print()

# Number of repeated species from "unseen" split in "train" split
intersection_records = set(train_species).intersection(set(unseen_species))
print(f"There are { len(intersection_records)} repeated species from unseen split in train split")
print(f"There are {len(intersection_records)} repeated species from unseen split in train split")
print()

# Number of repeated species from "unseen" split in "pretrain" split
intersection_records = set(pretrain_species).intersection(set(unseen_species))
print(f"There are { len(intersection_records)} repeated species from unseen split in pretrain split")
print(f"There are {len(intersection_records)} repeated species from unseen split in pretrain split")
print()

# Get unique genera
Expand Down

0 comments on commit 516ad2b

Please sign in to comment.