From 94d90667008426872cb721490c3a79363a5183af Mon Sep 17 00:00:00 2001 From: Ankit Agrawal Date: Sat, 12 Oct 2013 21:15:26 +0530 Subject: [PATCH] Absolute path fix --- skimage/feature/orb_cy.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/orb_cy.pyx b/skimage/feature/orb_cy.pyx index 82c6e6ad..939471c9 100644 --- a/skimage/feature/orb_cy.pyx +++ b/skimage/feature/orb_cy.pyx @@ -10,7 +10,7 @@ import os from libc.math cimport sin, cos, round -pos = np.loadtxt(os.path.join(os.path.dirname(__file__), +pos = np.loadtxt(os.path.join(os.path.dirname(os.path.abspath(__file__)), "orb_descriptor_positions.txt"), dtype=np.int8) pos0 = np.ascontiguousarray(pos[:, :2]) pos1 = np.ascontiguousarray(pos[:, 2:])