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

Problems encountered while running trace examples #173

Open
999-x opened this issue Apr 22, 2024 · 5 comments
Open

Problems encountered while running trace examples #173

999-x opened this issue Apr 22, 2024 · 5 comments

Comments

@999-x
Copy link

999-x commented Apr 22, 2024

Hello, this is my first time using xrt. When running the 01BD-SourceZCrystalThetaAlpha script in 07-AnalyzerBent2D, it prompted me with an error in the material script,as shown in the following figure. Because this is my first time encountering Python, I cannot find a solution on my own and cannot follow the error prompt to resolve it.I hope you can help me clarify my doubts,thank you very much!
1
2
3

@999-x
Copy link
Author

999-x commented Apr 22, 2024

The error prompt looks like this:
UserWarning: Reading .npy or .npz file required additional header parsing as it was created on Python 2. Save the file again to speed up loading and avoid this warning.

@kklmn
Copy link
Owner

kklmn commented Apr 22, 2024

Hi,
As it says, this is a warning, not an error. You can simply ignore it.
A better way is to use the current GitHub version, the material files were updated half a year ago, just we haven't made a release since then.

@999-x
Copy link
Author

999-x commented Apr 22, 2024

Hi, As it says, this is a warning, not an error. You can simply ignore it. A better way is to use the current GitHub version, the material files were updated half a year ago, just we haven't made a release since then.

Excuse me, the current GitHub version is xrt-1.6.0 ?

@kklmn
Copy link
Owner

kklmn commented Apr 22, 2024

"The current version" means the present set of files. GitHub can save files when the owner creates a new tag. By adding notes, this makes a new release (or version). You don't need the latest release, this is probably what you have already. You need the green button Code, where you can clone or download.

@999-x
Copy link
Author

999-x commented Apr 22, 2024

"The current version" means the present set of files. GitHub can save files when the owner creates a new tag. By adding notes, this makes a new release (or version). You don't need the latest release, this is probably what you have already. You need the green button Code, where you can clone or download.

ok,thank you!

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

No branches or pull requests

2 participants