Skip to content

Commit

Permalink
Fixed path manipulation that only worked on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ayshih committed Feb 10, 2016
1 parent cc3e9e5 commit 92d2229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gripspy/science/ge.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
__all__ = ['GeData']


DIR = os.path.join(__file__, "..")
DIR = os.path.dirname(__file__)


stripmap = np.array([np.loadtxt(os.path.join(DIR, "asicmap", "asicmap{0}.txt".format(asic)), dtype=np.uint16)[:, 1]
Expand Down

0 comments on commit 92d2229

Please sign in to comment.