Skip to content

Commit

Permalink
as suggested by @dlonie using vcs.prefix rather than sys.prefix
Browse files Browse the repository at this point in the history
this will ensure it will work on installation built on top of system python
  • Loading branch information
doutriaux1 committed Mar 26, 2015
1 parent 3b73783 commit a93af3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/vcs/test_lon_axes_freak_out.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import checkimage


f=cdms2.open(os.path.join(sys.prefix,"sample_data","clt.nc"))
f=cdms2.open(os.path.join(vcs.prefix,"sample_data","clt.nc"))
s=f("clt")
s3=f("clt",longitude=(0,360))

Expand Down

0 comments on commit a93af3d

Please sign in to comment.