[med-svn] [Git][med-team/poretools][master] 3 commits: Add patch to fix FTBFS with new matplotlib 3.6.2 (Closes: #1027169)
Nilesh Patra (@nilesh)
gitlab at salsa.debian.org
Thu Dec 29 08:44:29 GMT 2022
Nilesh Patra pushed to branch master at Debian Med / poretools
Commits:
04d3e100 by Nilesh Patra at 2022-12-29T13:46:43+05:30
Add patch to fix FTBFS with new matplotlib 3.6.2 (Closes: #1027169)
- - - - -
d80a7de3 by Nilesh Patra at 2022-12-29T13:57:08+05:30
Explicitly depend on python3-h5py which somehow does not get picked up by debhelper
- - - - -
ece98b89 by Nilesh Patra at 2022-12-29T13:57:08+05:30
Upload to unstable
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/matplotlib.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+poretools (0.6.0+dfsg-6) unstable; urgency=medium
+
+ * Team Upload.
+ * Add patch to fix FTBFS with new matplotlib 3.6.2 (Closes: #1027169)
+ * Explicitly depend on python3-h5py which somehow does not get picked
+ up by debhelper
+
+ -- Nilesh Patra <nilesh at debian.org> Thu, 29 Dec 2022 13:46:47 +0530
+
poretools (0.6.0+dfsg-5) unstable; urgency=medium
* Team Upload.
=====================================
debian/control
=====================================
@@ -21,7 +21,8 @@ Package: poretools
Architecture: all
Depends: ${misc:Depends},
${python3:Depends},
- python3-pkg-resources
+ python3-pkg-resources,
+ python3-h5py
Description: toolkit for nanopore nucleotide sequencing data
poretools is a flexible toolkit for exploring datasets generated by nanopore
sequencing devices from MinION for the purposes of quality control and
=====================================
debian/patches/matplotlib.patch
=====================================
@@ -0,0 +1,41 @@
+Description: Change figsize with new matplotlib
+Author: Nilesh Patra <nilesh at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027169
+Last-Update: 2022-12-29
+--- a/poretools/occupancy.py
++++ b/poretools/occupancy.py
+@@ -42,11 +42,13 @@
+ df = pd.DataFrame(d)
+
+ d = df.pivot("rownum", "colnum", "tot_reads")
++ if args.saveas is not None:
++ plt.figure(figsize=(8.5,8.5))
+ sns.heatmap(d, annot=True, fmt="d", linewidths=.5)
+
+ if args.saveas is not None:
+ plot_file = args.saveas
+- plt.savefig(plot_file, figsize=(8.5, 8.5))
++ plt.savefig(plot_file)
+ else:
+ plt.show()
+
+--- a/poretools/yield_plot.py
++++ b/poretools/yield_plot.py
+@@ -51,6 +51,8 @@
+ sns.set_style("whitegrid")
+
+ # plot
++ if args.saveas is not None:
++ plt.figure(figsize=(8.5,8.5))
+ plt.plot(df['start'], df['cumul'])
+ plt.xlabel('Time (hours)')
+ plt.ylabel(y_label)
+@@ -58,7 +60,7 @@
+
+ if args.saveas is not None:
+ plot_file = args.saveas
+- plt.savefig(plot_file, figsize=(8.5, 8.5))
++ plt.savefig(plot_file)
+ else:
+ plt.show()
+
=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
python3.patch
+matplotlib.patch
View it on GitLab: https://salsa.debian.org/med-team/poretools/-/compare/9e0b1900bab9213bf52b12974c6b0c17f3c66d4c...ece98b8948a94b789bc2b7085e854b8cdbdc004e
--
View it on GitLab: https://salsa.debian.org/med-team/poretools/-/compare/9e0b1900bab9213bf52b12974c6b0c17f3c66d4c...ece98b8948a94b789bc2b7085e854b8cdbdc004e
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/20221229/cfaddedb/attachment-0001.htm>
More information about the debian-med-commit
mailing list