File: remove_hdf5plugin.patch

package info (click to toggle)
bioxtasraw 2.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 275,072 kB
  • sloc: python: 74,496; makefile: 29; sh: 21
file content (35 lines) | stat: -rw-r--r-- 1,047 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From: Neil Williams <codehelp@debian.org>
Date: Tue, 22 Mar 2022 08:48:09 +0000
Subject: Remove hdf5plugin - renamed package

---
 bioxtasraw/RAW.py       | 2 +-
 bioxtasraw/SASFileIO.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bioxtasraw/RAW.py b/bioxtasraw/RAW.py
index 1529158..90d019b 100644
--- a/bioxtasraw/RAW.py
+++ b/bioxtasraw/RAW.py
@@ -54,7 +54,7 @@ import signal
 import ctypes
 
 
-import hdf5plugin #HAS TO BE FIRST
+import h5py as hdf5plugin #HAS TO BE FIRST
 import numpy as np
 import scipy.constants
 import matplotlib as mpl
diff --git a/bioxtasraw/SASFileIO.py b/bioxtasraw/SASFileIO.py
index 0750e5a..d8f08b9 100644
--- a/bioxtasraw/SASFileIO.py
+++ b/bioxtasraw/SASFileIO.py
@@ -28,7 +28,7 @@ from io import open
 from six.moves import cPickle as pickle
 import six
 
-import hdf5plugin #This has to be imported before fabio, and h5py (and, I think, PIL/pillow) . . .
+# import hdf5plugin #This has to be imported before fabio, and h5py (and, I think, PIL/pillow) . . .
 
 import os
 import re