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

Bug in loading of GSS files #11623

Closed
eXeC64 opened this issue Dec 12, 2014 · 4 comments
Closed

Bug in loading of GSS files #11623

eXeC64 opened this issue Dec 12, 2014 · 4 comments
Assignees
Labels
Framework Issues and pull requests related to components in the Framework
Milestone

Comments

@eXeC64
Copy link
Contributor

eXeC64 commented Dec 12, 2014

This issue was originally TRAC 10781

When loaded, the attached files have different numbers of bins for each spectrum. Attempting to run these through a binary operation algorithm results in memory corruption, and usually a crash.

pol64 = Load("pol64374.gss")
pol59 = Load("pol59543.gss")

for i in range(0,4):
    print "pol59[%d] contains %d bins" % (i, len(pol59.readY(i)))
    print "pol64[%d] contains %d bins" % (i, len(pol64.readY(i)))

Yields

pol59[0] contains 1021 bins
pol64[0] contains 1021 bins
pol59[1] contains 4646 bins
pol64[1] contains 4646 bins
pol59[2] contains 4570 bins
pol64[2] contains 4564 bins
pol59[3] contains 4439 bins
pol64[3] contains 4428 bins

These should all have the same number of bins per spectrum.

@eXeC64
Copy link
Contributor Author

eXeC64 commented Apr 27, 2015

@raquelalvarezbanos (2015-01-06T11:35:46):
Having a look at the files attached, I see that they actually have different number of bins (different number of rows per bank), and this number of bins matches what is printed in the ticket description. The binning (x values) is also different in each spectrum. It seems to me that data is loaded correctly. Can you have a look and let me know if I am misunderstanding the issue.


@NickDraper (2015-04-27T08:10:35):
Moved to R3.5 at the R3.4 code freeze

@eXeC64
Copy link
Contributor Author

eXeC64 commented Jun 3, 2015

@eXeC64 eXeC64 added the Framework Issues and pull requests related to components in the Framework label Jun 3, 2015
@eXeC64 eXeC64 added this to the Release 3.5 milestone Jun 3, 2015
@NickDraper NickDraper modified the milestones: Release 3.5, Release 3.6 Sep 14, 2015
@raquelalvarezbanos
Copy link
Contributor

Not sure if this is an issue.

@NickDraper
Copy link
Contributor

Agreed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Framework Issues and pull requests related to components in the Framework
Projects
None yet
Development

No branches or pull requests

3 participants