Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data.clone gets a bad stylesheet #11

Open
gb119 opened this issue May 18, 2017 · 1 comment
Open

Data.clone gets a bad stylesheet #11

gb119 opened this issue May 18, 2017 · 1 comment

Comments

@gb119
Copy link
Member

gb119 commented May 18, 2017

Steps to reproduce:
from Stoner import Data
d=Data(np.ones((2,2)),setas="xy")
d.plot()
os,chdir("/tmp")
e=d.clone

Reports that it can't find the stylesheet in the the template because the path stored in the template class is relative.

@gb119
Copy link
Member Author

gb119 commented May 18, 2017

Fixed in 507f1e0 with more liberal use of realpath()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant