-
Notifications
You must be signed in to change notification settings - Fork 26
Bug Report: gemSCurveAnaToolkit.py generates crash with ROOT v6.X or on cc7? #63
Comments
Provide |
You would like this uploaded to the repository under a .travis directory? If so which branch should the PR be made to? Maybe your private branch? |
No, I specifically don't want to put this test data in the repo, I just want a location that the CI can Same for #62 |
Another option is to add test data as attached file to the git release. Just my 2cents
On Mar 14, 2018 11:01 AM, Jared Sturdy <[email protected]> wrote:
No, I specifically don't want to put this test data in the repo, I just want a location that the CI can wget a file for testing from.
A possible alternative would be putting the test data in a dedicated docker container
The last ditch effort would be to put the data in the repo
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub<#63 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AHFaluURSEpZrHHv1oX5LZGabDCIVr9jks5teOosgaJpZM4RiyQ_>.
|
I don't understand then, I thought
I don't know what a "docker container" is; is this something that is uploaded to travis? Sorry it's my ignorance here.
I think Misha's suggestion as having the files uploaded to a release is a good one, this then gives the user a test sample to play with if necessary. |
It might be worth pointing out that the So in the example that is shown in the link above
What I would propose is that I provide the following:
What may also be needed is a version of
I can provide this to you and then you can choose how/where it should be hosted. The tarball of |
Well, this doesn't fit in the "run standard tests model that is the point of this addition.
OK, think about how the unit tests will need to be run and what would need to be included in the tarball, then I can take it from there |
Brief summary of issue
gemSCurveAnaToolkit.py
generates a crash when running on cc7 with ROOT v6.X. Suspect it's a difference between ROOT 5.34 and 6.X, unclear why.Types of issue
Expected Behavior
Current Behavior
On
gem904daq03
Works
ROOT is 5.34/36
python is Python 2.6.6
On
gem904qc8daq
ROOT is 6.10/08
Python is Python 2.7.5
Steps to Reproduce (for bugs)
cc7
machinegemSCurveAnaToolkit.py -i listOfScanDates_Scurve.txt -c -s30 -v1 --anaType=scurveAna --drawLeg
Contents of
listOfScanDates_Scurve.txt
is reported below:Possible Solution (for bugs)
Probably something to do with how the
TF1
object is stored/access in the TFile...in ROOT 5.34 it recognizes the TFile has been made with ROOT 6 and so just skips theTF1
(e.g. in ROOT 5.34 the classTF1Parameters
does not exist).However in ROOT 6 there's a crash.
Context (for feature requests)
Cannot investigate individual channel scurves and their fits.
Your Environment
zsh
The text was updated successfully, but these errors were encountered: