You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for updating this package. I've updated all recent proio HepSim files with the self-describing tag (and removed mc.proto file from these files). I've also updated hs-toolkit, so you can use GUI browser from this package to view mc.proto file. But it is in JSON format (I'm using toProto().toString()). It would be good to be able to extract the model file in the standard protocol buffers format.
best, Sergei
The text was updated successfully, but these errors were encountered:
decibelcooper
changed the title
self-describing feature
Get protobuf source from self-describing files
Aug 30, 2018
What you ask for is not possible, it seems. One apparently cannot easily go from a FileDescriptor back to true source code. If this is considered a necessity, then perhaps I should come up with a way to easily
add the git url and commit hash to the metadata so that users can find the exact code and proto source used to generate the file.
Hi, David
Thanks for updating this package. I've updated all recent proio HepSim files with the self-describing tag (and removed mc.proto file from these files). I've also updated hs-toolkit, so you can use GUI browser from this package to view mc.proto file. But it is in JSON format (I'm using toProto().toString()). It would be good to be able to extract the model file in the standard protocol buffers format.
best, Sergei
The text was updated successfully, but these errors were encountered: