Skip to content

Commit

Permalink
flake issue
Browse files Browse the repository at this point in the history
  • Loading branch information
aembryonic committed Dec 19, 2024
1 parent 0a2d5fe commit c7047b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nlp_scripts/model_prediction/llm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ def process_primary_tags(ex: list, order="columns", type_="2d", max_length: int
)
properties.update(prop)
elif (
type_ == "2d"
and f"sub{order.title()}" in c.keys()
and c.get(f"sub{order.title()}")
type_ == "2d" and f"sub{order.title()}" in c.keys() and c.get(f"sub{order.title()}")
):
for cc in c[f"sub{order.title()}"]:
name = cc["label"].strip()
Expand Down

0 comments on commit c7047b0

Please sign in to comment.