Commits

Lars Yencken committed ed4435a

Fixes a bug in accessing the data from an installed package.

  • Participants
  • Parent commits be312bb

Comments (0)

Files changed (2)

 overconstrained
 rejected-entries
 gpalign
+*.egg

File src/align.py

         sys.exit(1)
     
     if options.evaluate:
-        input_file = os.path.join(os.path.dirname(__file__), 'data',
+        input_file = os.path.join(os.path.dirname(potentials.__file__), 'data',
                 'eval-alignment.data')
         with warnings.catch_warnings():
             warnings.simplefilter('ignore')