Skip to content

Commit 41e1404

Browse files
authored
update docopt -> docopt-ng (thanks @theAeon, #310) (#311)
* update docopt -> docopt-ng * update test due to update in obo
1 parent 2dfb6af commit 41e1404

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ packages =
3737
goatools.semsim
3838
goatools.semsim.termwise
3939
install_requires =
40-
docopt
40+
docopt-ng
4141
ftpretty
4242
numpy
4343
openpyxl

tests/test_grpr_get_sections_2d.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ def test_fnc():
3333
grprdflt.gosubdag, grprdflt.hdrgos_dflt, sections=SECTIONS, hdrgos=None
3434
)
3535
grprobj = Grouper("test", usrgos, hdrobj, grprdflt.gosubdag, go2nt=usrgo2nt)
36-
assert set(usrgos) == grprobj.usrgos
36+
# Used to be equal, but now it is a superset
37+
# MISSING GO IDs: {'GO:0071407', 'GO:0097153', 'GO:0043280'}
38+
assert set(usrgos) >= grprobj.usrgos
3739
sections_act = grprobj.get_sections_2d()
3840
chk_results(sections_act, grprobj)
3941

0 commit comments

Comments
 (0)