kids-first/kf-utils-python

find_gfs_with_extra_contributors accesses keys that aren't used

fiendish opened this issue · 0 comments

Describe the bug
find_gfs_with_extra_contributors accesses keys that aren't used causing errors

has_extra_contributors = {
"mixed_visibility": set(),
"hidden": set(),
"visible": set(),
}

vs

has_extra_contributors["all_hidden"].add(g)
else:
has_extra_contributors["all_visible"].add(g)

and
descendant_kfids["genomic-files"] -= extra_contrib_gfs["all_hidden"]