diff --git a/.github/workflows/continuous_integration.yml b/.github/workflows/continuous_integration.yml index 54722da..62c42d9 100644 --- a/.github/workflows/continuous_integration.yml +++ b/.github/workflows/continuous_integration.yml @@ -21,7 +21,7 @@ jobs: - name: Install dependencies run: | # I am using the pip installed by conda, bad practice but OK in C/I I think - pip install pyranges-plot[all]==0.0.27 + pip install pyranges-plot[all]==0.1.0 pip install ruff pytest - name: Check formatting with ruff run: | diff --git a/docs/requirements.txt b/docs/requirements.txt index 888dfa1..10e713a 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ -pyranges_plot==0.0.27 +pyranges_plot==0.1.0 Sphinx==7.3.7 sphinx-rtd-theme==2.0.0 sphinx-autoapi==3.0.0 diff --git a/setup.py b/setup.py index 6a33470..fabd0cb 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="pyranges_plot", - version="0.0.27", + version="0.1.0", packages=find_packages(where="src"), package_dir={"": "src"}, ) diff --git a/src/pyranges_plot/_version.py b/src/pyranges_plot/_version.py index 573b11c..3dc1f76 100644 --- a/src/pyranges_plot/_version.py +++ b/src/pyranges_plot/_version.py @@ -1 +1 @@ -__version__ = "0.0.27" +__version__ = "0.1.0" diff --git a/src/pyranges_plot/plotly_base/core.py b/src/pyranges_plot/plotly_base/core.py index 6db8835..ad32ab1 100644 --- a/src/pyranges_plot/plotly_base/core.py +++ b/src/pyranges_plot/plotly_base/core.py @@ -97,7 +97,7 @@ def show_uncol_warning(grfig): Output("alert-iteration", "is_open"), Input("genes-plot", "figure"), ) - def show_uncol_warning(grfig): + def show_iter_warning(grfig): if grfig["data"][0]["customdata"][0] == "no warnings": return False sign = int(grfig["data"][0]["customdata"][2]) diff --git a/src/pyranges_plot/plotly_base/fig_axes.py b/src/pyranges_plot/plotly_base/fig_axes.py index 7fd9d2b..e8ed2b0 100644 --- a/src/pyranges_plot/plotly_base/fig_axes.py +++ b/src/pyranges_plot/plotly_base/fig_axes.py @@ -2,9 +2,9 @@ import plotly.graph_objects as go import numpy as np import pandas as pd -from pyranges.core.names import CHROM_COL, START_COL, END_COL +from pyranges.core.names import START_COL, END_COL from pyranges_plot.core import cumdelting -from pyranges_plot.names import PR_INDEX_COL, ORISTART_COL, ORIEND_COL, CUM_DELTA_COL +from pyranges_plot.names import PR_INDEX_COL, CUM_DELTA_COL def calculate_ticks(chrom_md_grouped, chrom, num_ticks=10):