Skip to content

Commit

Permalink
Update/fix slurp comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joeflack4 committed Mar 21, 2024
1 parent 60890e8 commit c7fbb35
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scripts/migrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ def slurp(
# Determine slurpable / migratable terms
# To be migratable, the term (i) must not already be mapped, (ii) must not be excluded (e.g. not in
# `reports/%_term_exclusions.txt`), and (iii) must not be deprecated / obsolete. Then, unless
# `parent_conditions_off`, will also (iv) `_check_parent_conditions()`.
# `parent_conditions_off`, will also (iv) check parent conditions. For information about parent conditions, see the
# help text for `--parent-conditions-off`.
terms_to_slurp: List[Dict[str, str]] = []
slurp_candidates = [t for t in slurp_candidates if _valid_parent_conditions(
t.direct_owned_parent_curies, mapped, excluded, obsolete)] if not parent_conditions_off else slurp_candidates
Expand Down

0 comments on commit c7fbb35

Please sign in to comment.