Skip to content

Commit

Permalink
Fix misc.py import for confusion matrix plot (#53)
Browse files Browse the repository at this point in the history
* Fix misc.py import for confusion matrix plot

* update docker image for building wheels

* bump version

* Update manylinux docker

* Update python-publish.yml

* Update python-publish.yml

* Update python-publish.yml
  • Loading branch information
bruce-edelman authored Nov 15, 2023
1 parent a9461a8 commit a606f98
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Build wheels in docker
shell: bash
run: |
docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2010_x86_64 bash .github/workflows/Docker/buildwheel.sh
docker run --rm -v `pwd`:/project -w /project quay.io/pypa/manylinux2014_x86_64:latest bash .github/workflows/Docker/buildwheel.sh
- name: Upload Wheels
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion diploshic/diploSHIC
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ if argsDict["mode"] == "train":
print("diploSHIC loss: %f" % score[0])
print("diploSHIC accuracy: %f" % score[1])
if confusionFile:
from misc import plot_confusion_matrix
from diploshic.misc import plot_confusion_matrix
import matplotlib.pyplot as plt

plot_confusion_matrix(
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"diploshic/utils.c"],
)
setup(name='diploSHIC',
version='1.0.4',
version='1.0.5',
description='diploSHIC',
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a606f98

Please sign in to comment.