-
Notifications
You must be signed in to change notification settings - Fork 0
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
Oscar class cannot load OSCAR IC format. #291
Comments
This is odd. Which branch/version did you use
as IC reading is implemented. I used version 1.2.1 |
Actually I don't get the error at all. The header of the IC is exactly like any SMASH header, that's why before event processing the first 3 lines are dropped, and then the event line is processed. I would double check that the correct file is read in and not corrupted. |
Closed by #292 |
When trying to load a SMASH_IC.oscar file with the Oscar class, it throws the error
Traceback (most recent call last): File "/mnt/c/Users/lucas/Desktop/Masterarbeit_project/old stuff/densities.py", line 76, in <module> oscar = sparkx.Oscar(path, events=event_number) File "/usr/local/lib/python3.9/dist-packages/sparkx/Oscar.py", line 259, in __init__ self.set_particle_list(kwargs) File "/usr/local/lib/python3.9/dist-packages/sparkx/Oscar.py", line 466, in set_particle_list raise ValueError( ValueError: First line of the event is not a comment line or does not contain "out"
. This is because the Header of the IC file looks like this:@NGoetz
The text was updated successfully, but these errors were encountered: