Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (3)
Bump minimum required fast5 version
· cccda957
Afif Elghraoui
authored
Feb 17, 2018
cccda957
Include upstream patch to fix HDF5 errors appearing in autopkgtest
· 5844c060
Afif Elghraoui
authored
Feb 17, 2018
See
https://github.com/jts/nanopolish/issues/335
5844c060
releasing package nanopolish version 0.9.0-1
· 34ec40c2
Afif Elghraoui
authored
Feb 17, 2018
34ec40c2
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
34ec40c2
nanopolish (0.9.0-1)
UNRELEASED
; urgency=medium
nanopolish (0.9.0-1)
unstable
; urgency=medium
* New upstream version
0.9.0
* New upstream version
* Refresh patches
* Bump upstream copyright year
* Bump minimum required fast5 version
* Include upstream patch to fix HDF5 errors appearing in autopkgtest
-- Afif Elghraoui <afif@debian.org> Sat, 17 Feb 2018
18:06:03
-0500
-- Afif Elghraoui <afif@debian.org> Sat, 17 Feb 2018
22:02:10
-0500
nanopolish (0.8.5-2) unstable; urgency=low
...
...
debian/control
View file @
34ec40c2
...
...
@@ -6,7 +6,7 @@ Uploaders: Afif Elghraoui <afif@debian.org>
Build-Depends:
debhelper (>= 10),
zlib1g-dev,
libfast5-dev (>= 0.6.
4
),
libfast5-dev (>= 0.6.
5
),
libhts-dev,
libeigen3-dev,
Standards-Version: 4.1.3
...
...
debian/patches/hdf5-groupcheck.patch
0 → 100644
View file @
34ec40c2
From 303971c245d507988132ad8404f840461ff4d87d Mon Sep 17 00:00:00 2001
From: Jared Simpson <jared.simpson@gmail.com>
Date: Sat, 17 Feb 2018 21:48:45 -0500
Subject: [PATCH] check for existence of group before opening it (#335)
---
src/common/nanopolish_fast5_io.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/common/nanopolish_fast5_io.cpp b/src/common/nanopolish_fast5_io.cpp
index 0144062..7f38719 100644
--- a/src/common/nanopolish_fast5_io.cpp
+++ b/src/common/nanopolish_fast5_io.cpp
@@ -208,6 +208,13 @@
std::string fast5_get_fixed_string_attribute(hid_t hdf5_file, const std::string&
int ret;
std::string out;
+ // according to http://hdf-forum.184993.n3.nabble.com/check-if-dataset-exists-td194725.html
+ // we should use H5Lexists to check for the existence of a group/dataset using an arbitrary path
+ ret = H5Lexists(hdf5_file, group_name.c_str(), H5P_DEFAULT);
+ if(ret <= 0) {
+ return "";
+ }
+
// Open the group /Raw/Reads/Read_nnn
group = H5Gopen(hdf5_file, group_name.c_str(), H5P_DEFAULT);
if(group < 0) {
debian/patches/series
View file @
34ec40c2
add-shebang-to-script.patch
reproducible.patch
hdf5-groupcheck.patch