-
Notifications
You must be signed in to change notification settings - Fork 2
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
FOPI plotting produces error #81
Comments
Did you use the I just went to the point in the analysis causing the error: smash-analysis/test/FOPI_pions/plot.py Lines 41 to 42 in 11823db
The pion_yields.txt file used there seems to be produced by the yields.py script. In this script the binary reader is used, but I don't see how this can cause an error for the read in of pion_yields.txt with the wrong number of columns.Can you maybe give the content of the pion_yields.txt file here? Just to check, if the file contains: energy, Npi+, Npi0, Npi-, Nevent, Ntestparticles, ptpi+, ptpi0, ptpi-, erorrs.
|
The file looks like this:
I wonder where the 3.0 comes from? maybe that is the issue |
The 3.0 really looks wrong. I just checked the output file in a LibreOffice table and the columns really look like they should according to
Is the 3.0 really part of the output file? |
I looked at the |
I tested it again, removing the corrupted file and executing the plotting target:
The 3.0 is both printed out to the user and to the file. |
Could you check if the 3.0 comes from the assert itself? |
I did a check in an external python script with
This does not print a 3.0 in the terminal. There is no output at all. Only if the line is not true, then it would print:
So this should not be the origin of the 3.0. |
This is very odd. Probably the best thing is to build a minimal example creating this error. |
The 3.0 comes from version.py. I gonna fix this. |
The FOPI target fails during plotting:
I assume that it could be related to the binary reader, though I am not sure. I assign this to @Hendrik1704 for now, but if you find that it is not related, you can also assign someone else.
The text was updated successfully, but these errors were encountered: