-
Notifications
You must be signed in to change notification settings - Fork 3
eventWriter raising github error #290
Comments
Hi, We have a feature that when you write a nur file, the hash of your current git version is stored in the event. I would guess that is where the error happens. We changed the implementation a while ago so that it will still work if you used pip for installation (though it won't store the git versio, obviously), so I am a bit surprised by the error. Maybe just upgrading to the latest NuRadioReco release will solve the problem. |
Hi, Thank you for getting back to me. I don't think I installed it via pip, since the location of NuRadioReco is not at my The error does not stop the program, but just keeps being printed out. So the error massage looks something like:
I upgraded NuRadioReco using Thank you for looking into this for me. |
That is really strange then. Can you post the full error message, especially the part where it points to the line the error occured? That would help a lot. For upgrading best just use Do you also have NuRadioMC installed? Is it installed with git as well? |
The error I do have NuRadioMC installed via git, but I have never used it before. Thanks for the advice on upgrading. I did
The test code I used that produces this error is fairly simple:
|
Whenever the function
eventWriter.run()
is called, it raises:fatal: not a git repository (or any of the parent directories): .git
Even for example code in
/examples
folderThe text was updated successfully, but these errors were encountered: