Skip to content

Commit

Permalink
- Merge branch 'develop' of https://github.com/jhu-bids/TermHub into …
Browse files Browse the repository at this point in the history
…develop

- Bugfix follow-up. I had an error with how I was declaring a set.
  • Loading branch information
joeflack4 committed Apr 26, 2024
2 parents 654f5ba + b40023f commit 155fef2
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 81 deletions.
2 changes: 1 addition & 1 deletion backend/db/resolve_fetch_failures_0_members.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def get_failures_0_members(
int(x['primary_key']) for x in failures if x['status_initially'] == 'fail-0-members'])

# Validate & filter
non_failures_passed: Set[int] = set(version_id).difference(failure_lookup.keys()) if version_id else {}
non_failures_passed: Set[int] = set(version_id).difference(failure_lookup.keys()) if version_id else set()
if bool(version_id and non_failures_passed):
print("Warning: Cset IDs were passed to be resolved, but these are no longer failures; skipping them: "
f"{', '.join([str(x) for x in non_failures_passed])}", file=sys.stderr)
Expand Down
Loading

0 comments on commit 155fef2

Please sign in to comment.