Index: /fact/tools/pyscripts/pyfact/coor.py
===================================================================
--- /fact/tools/pyscripts/pyfact/coor.py	(revision 14114)
+++ /fact/tools/pyscripts/pyfact/coor.py	(revision 14115)
@@ -26,5 +26,7 @@
         """
         _CheckPath(map_file_path)
-
+        path = os.path.abspath(__file__)
+        path = os.path.dirname(path)
+        map_file_path = os.path.join(path, map_file_path)
         chid, xe, ye = np.loadtxt(map_file_path, unpack=True)
         # -ye in order to correct for the sign difference between my mapping file 
@@ -69,4 +71,5 @@
         chid2coor_np = {}
         chid2vec  = {}
+        euc2chid = {}
         # we will fill these translators now.
         for vector_and_chid in vectors_and_chids:
@@ -110,4 +113,5 @@
             # the calculation of the neighbors needs it
             coor2chid[ coor ] = chid
+            euc2chid[(vec[0],vec[1])] = chid
 
 
@@ -140,4 +144,5 @@
         self.coor2chid = coor2chid
         self.chid2vec  = chid2vec
+        self.euc2chid = euc2chid
         
 #        for chid in chid2nn.keys():
@@ -155,5 +160,5 @@
     path = os.path.dirname(path)
     inpath = os.path.join(path, inpath)
-        if not os.path.isfile(inpath):
-            raise IOError('not able to find file: '+inpath)
+    if not os.path.isfile(inpath):
+        raise IOError('not able to find file: '+inpath)
 
