det-lab / xia

A library for python-based analysis of XIA data
MIT License
1 stars 0 forks source link

libpixie4e.so file is crashing the kernel #3

Open maraMaraschino opened 3 months ago

maraMaraschino commented 3 months ago

Ok, so I generated the source and header files for pixie4e in src-pixie4e-awkward to try and create a second Jupyter Notebook as an example of the xia_analysis that uses awkward_kaitai instead of python kaitai library. I'm running into a strange problem with it, though. It shows the generated libpixie4e.so file on the github page, but for some reason that file just isn't appearing in Jupyter Notebook, and when I try to run the lines: xia = ak.Reader("../src-pixie4e-awkward/libpixie4e.so") awkward_array = xia.load("../data/StilbeneAmCs_500_0253/StilbeneAmCs_500_0253.b00") it completely crashes the kernel.

maraMaraschino commented 3 months ago

After separating code on the lines between xia = (...) and awkward_array = (...) it looks like the issue is actually coming from the attempt at loading the file, and not from reading it. It is still true that the .so file isn't showing up in the Jupyter Notebook file browser, but I've opened a separate issue for that.