File: 0002-Check-for-appropriate-version-of-libufo.patch

package info (click to toggle)
tomopy 1.15.3%2Bds1-1
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid
  • size: 16,296 kB
  • sloc: cpp: 8,205; ansic: 7,231; python: 6,628; sh: 169; makefile: 70
file content (21 lines) | stat: -rw-r--r-- 686 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Roland Mas <lolando@debian.org>
Date: Fri, 6 Jan 2023 17:05:24 +0100
Subject: Check for appropriate version of libufo

---
 source/tomopy/recon/wrappers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/tomopy/recon/wrappers.py b/source/tomopy/recon/wrappers.py
index 2d8cfa2..23d53c9 100644
--- a/source/tomopy/recon/wrappers.py
+++ b/source/tomopy/recon/wrappers.py
@@ -246,7 +246,7 @@ def ufo_fbp(tomo, center, recon, theta, **kwargs):
     Reconstruct object using UFO's FBP pipeline
     """
     import gi
-    gi.require_version('Ufo', '0.0')
+    gi.require_version('Ufo', '1.0')
     from gi.repository import Ufo
 
     width = tomo.shape[2]