-
Notifications
You must be signed in to change notification settings - Fork 11
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
ValueError: vector::_M_default_append #14
Comments
Hi, thanks for trying this out. Unfortunately, we couldn't turn this project into the default Python API for HepMC3, they have their own independent Python bindings. Therefore, I cannot offer much support. I don't see something that you did wrong at first glance, it looks like a bug in our library. tl;dr: I do not have time to support this library at the moment, so if you are doing serious work, I would recommend the official HepMC3 Python API for now. |
Hi @HDembinski thank you very much for your reply. I'm sadden to hear that, I was looking forward to having a python interface that wouldn't required installing HepMC... All the best! |
@romanovzky For my curiosity, did you find a solution or did you switch to the official HepMC3 Python bindings? |
Hi @HDembinski neither to be honest. I was attempting this route to avoid having to use C++, but I just went on with it. I'm still very keen on a working python interface/wrapper, as almost all my work and workflow is strictly pythonic. Also, I was bound to hepmc2 files, and the only hepmc3 seemed to have working python3 bindings? |
Thanks for the heads up. I think you can read the HepMC2 format with HepMC3. |
Now that you say that, I think I tried to use HepMC3 python bindings but had a similar issue. I can't recall the details as I was already not really convinced about the approach anymore. In any case, I did need to put together a FastJet routine, so using C++ was the obvious way. I just wanted to explore a python approach. |
I cannot reproduce this in the latest version, so hopefully updating will fix things for you. |
Hi there,
I was trying out this library in python using with a file I generated. This is the code I ran:
which returns the error
Disclaimer: I am not versed in hepmc, I was following the logic from here.
Cheers
The text was updated successfully, but these errors were encountered: