[med-svn] [Git][med-team/pyranges][master] Replace squeeze
Andreas Tille (@tille)
gitlab at salsa.debian.org
Sun Feb 18 06:12:18 GMT 2024
Andreas Tille pushed to branch master at Debian Med / pyranges
Commits:
c2dfc1e3 by Andreas Tille at 2024-02-18T07:11:52+01:00
Replace squeeze
- - - - -
1 changed file:
- debian/patches/pandas2.0.patch
Changes:
=====================================
debian/patches/pandas2.0.patch
=====================================
@@ -34,3 +34,27 @@ Last-Update: Sun, 18 Feb 2024 07:02:12 +0100
result = result.sort("__IX__")
result = result.drop(like="__IX__|__k__")
+--- a/tests/test_unary.py
++++ b/tests/test_unary.py
+@@ -120,9 +120,8 @@ def test_cluster(gr, strand):
+ StringIO(result),
+ sep="\t",
+ header=None,
+- squeeze=True,
+ names="Chromosome Start End Name Score Strand Cluster".split(),
+- dtype={"Chromosome": "category"})
++ dtype={"Chromosome": "category"}).squeeze('columns')
+
+ print("bedtools_df\n", bedtools_df)
+
+@@ -252,9 +251,8 @@ def test_windows(gr):
+ StringIO(result),
+ sep="\t",
+ header=None,
+- squeeze=True,
+ names="Chromosome Start End".split(),
+- dtype={"Chromosome": "category"})
++ dtype={"Chromosome": "category"}).squeeze('columns')
+
+ print("bedtools_df\n", bedtools_df)
+
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/commit/c2dfc1e3d2f3c6177638255f129ea814ac789c55
--
View it on GitLab: https://salsa.debian.org/med-team/pyranges/-/commit/c2dfc1e3d2f3c6177638255f129ea814ac789c55
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240218/984d44ba/attachment-0001.htm>
More information about the debian-med-commit
mailing list