-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from widdowquinn/issue_373
Issue 373 - preliminary merge with multiple fixes to annoyances (warnings/small errors) prior to real fix of #373.
- Loading branch information
Showing
12 changed files
with
113 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,5 +10,5 @@ Pillow | |
PyQt5 | ||
scipy | ||
seaborn | ||
sqlalchemy==1.3.10 | ||
sqlalchemy | ||
tqdm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env python3 | ||
# -*- coding: utf-8 -*- | ||
# (c) The James Hutton Institute 2017-2019 | ||
# (c) University of Strathclyde 2019-2020 | ||
# (c) University of Strathclyde 2019-2022 | ||
# Author: Leighton Pritchard | ||
# | ||
# Contact: [email protected] | ||
|
@@ -17,7 +17,7 @@ | |
# The MIT License | ||
# | ||
# Copyright (c) 2017-2019 The James Hutton Institute | ||
# Copyright (c) 2019-2020 University of Strathclyde | ||
# Copyright (c) 2019-2022 University of Strathclyde | ||
# | ||
# Permission is hereby granted, free of charge, to any person obtaining a copy | ||
# of this software and associated documentation files (the "Software"), to deal | ||
|
@@ -49,7 +49,6 @@ | |
import pandas as pd | ||
import pytest # noqa: F401 # pylint: disable=unused-import | ||
import unittest | ||
import unittest.mock as mock | ||
|
||
from pandas.testing import assert_frame_equal | ||
|
||
|
@@ -367,8 +366,8 @@ def test_parse_legacy_blastdir(anib_output_dir): | |
anib_output_dir.legacyblastdir, orglengths, fraglengths, mode="ANIblastall" | ||
) | ||
assert_frame_equal( | ||
result.percentage_identity.sort_index(1).sort_index(), | ||
anib_output_dir.legacyblastresult.sort_index(1).sort_index(), | ||
result.percentage_identity.sort_index(axis=1).sort_index(), | ||
anib_output_dir.legacyblastresult.sort_index(axis=1).sort_index(), | ||
) | ||
|
||
|
||
|
@@ -380,8 +379,8 @@ def test_parse_blastdir(anib_output_dir): | |
anib_output_dir.blastdir, orglengths, fraglengths, mode="ANIb" | ||
) | ||
assert_frame_equal( | ||
result.percentage_identity.sort_index(1).sort_index(), | ||
anib_output_dir.blastresult.sort_index(1).sort_index(), | ||
result.percentage_identity.sort_index(axis=1).sort_index(), | ||
anib_output_dir.blastresult.sort_index(axis=1).sort_index(), | ||
) | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.