Skip to content

Commit

Permalink
Merge pull request #98 from wbszhu/master
Browse files Browse the repository at this point in the history
fix bug in issue #97
  • Loading branch information
Nanguage authored Apr 21, 2024
2 parents 008a2b6 + b4465aa commit 9f0c24f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: 3.9
- name: Update Conda
run: |
$CONDA/bin/conda update -n base -c defaults conda --yes
- name: Install dependencies
run: |
sudo apt install libcurl4-openssl-dev
Expand Down
8 changes: 6 additions & 2 deletions coolbox/core/track/arcs/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,12 @@ def get_color(score, min_score, max_score):
center = (start + end) / 2
ax.plot([center], [diameter])
arc = Arc(
(center, 0), diameter,
height, 0, 0, 180,
xy=(center, 0),
width=diameter,
height=height,
angle=0,
theta1=0,
theta2=180,
color=color,
alpha=alpha,
lw=line_width,
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ dependencies:
- samtools>=1.10
- libcurl
- pip:
- -r file:requirements.txt
- -r requirements.txt
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ scipy>=1.0.0
numpy
pandas>=1.0.0
statsmodels
matplotlib>=3.4.1
matplotlib>=3.8.4
jupyter>=1.0.0
ipywidgets>=7.5.1
nbformat
Expand Down

0 comments on commit 9f0c24f

Please sign in to comment.