Skip to content

Commit

Permalink
Fix tests associated with removal of primary species
Browse files Browse the repository at this point in the history
I believe these tests were failing because of our removal of the
primary species logic in 2455fa.
  • Loading branch information
mmulich authored and karenc committed Dec 15, 2020
1 parent 4ffa35e commit f0ffcd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions wbia/algo/graph/mixin_wbia.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,9 @@ def get_wbia_name_delta(infr, ignore_unknown=True, relabel=True):
>>> print(result)
old_name new_name
aid
1 06_410 IBEIS_PZ_0042
5 07_061 06_410
6 07_061 06_410
1 06_410 IBEIS_UNKNOWN_0042
5 07_061 06_410
6 07_061 06_410
Doctest:
>>> from wbia.algo.graph.mixin_wbia import * # NOQA
Expand Down
8 changes: 4 additions & 4 deletions wbia/other/ibsfuncs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3066,10 +3066,10 @@ def make_next_name(ibs, num=None, str_format=2, species_text=None, location_text
>>> result = ut.repr4(names)
>>> print(result)
(
['IBEIS_UNKNOWN_0008', 'IBEIS_PZ_0042', 'IBEIS_UNKNOWN_0004', 'IBEIS_GZ_0008'],
['IBEIS_PZ_0042', 'IBEIS_PZ_0043', 'IBEIS_PZ_0044', 'IBEIS_PZ_0045', 'IBEIS_PZ_0046'],
['IBEIS_PZ_0044', 'IBEIS_PZ_0045', 'IBEIS_PZ_0046', 'IBEIS_PZ_0047', 'IBEIS_PZ_0048'],
['IBEIS_PZ_0042', 'IBEIS_PZ_0043', 'IBEIS_PZ_0044', 'IBEIS_PZ_0045', 'IBEIS_PZ_0046'],
['IBEIS_UNKNOWN_0008', 'IBEIS_UNKNOWN_0042', 'IBEIS_UNKNOWN_0004', 'IBEIS_GZ_0008'],
['IBEIS_UNKNOWN_0042', 'IBEIS_UNKNOWN_0043', 'IBEIS_UNKNOWN_0044', 'IBEIS_UNKNOWN_0045', 'IBEIS_UNKNOWN_0046'],
['IBEIS_UNKNOWN_0044', 'IBEIS_UNKNOWN_0045', 'IBEIS_UNKNOWN_0046', 'IBEIS_UNKNOWN_0047', 'IBEIS_UNKNOWN_0048'],
['IBEIS_UNKNOWN_0042', 'IBEIS_UNKNOWN_0043', 'IBEIS_UNKNOWN_0044', 'IBEIS_UNKNOWN_0045', 'IBEIS_UNKNOWN_0046'],
)
"""
Expand Down

0 comments on commit f0ffcd4

Please sign in to comment.