-
Notifications
You must be signed in to change notification settings - Fork 53
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
change size of hits in local phoenix event display #677
Comments
Hi - I'm not sure I completely understand your question. What do you mean by you "created an event-display locally"? Did you check out phoenix and want to modify it? If so, maybe this guide will help: If you have build a new angular app which uses phoenix, and you want to use a locally modified version of phoenix, then you can modify your
instead of the release version number. |
I managed to create an Angular app using this guide: https://github.com/HSF/phoenix/blob/main/guides/developers/set-up-phoenix.md. If I understood correctly, I'm simply checking out phoenix by doing |
Yes, exactly. Check out phoenix, build it locally, then point your angular
app to that phoenix app.
…On Thu, 29 Aug 2024 at 15:01, davzuliani ***@***.***> wrote:
I managed to create an Angular app using this guide:
https://github.com/HSF/phoenix/blob/main/guides/developers/set-up-phoenix.md
.
If I understood correctly, I'm simply checking out phoenix by doing npm
install phoenix-event-display.
So does this mean that I have to build a local modified version and point
to that one?
—
Reply to this email directly, view it on GitHub
<#677 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTTQSJP632YX22TT755UZTZT4LSJAVCNFSM6AAAAABNKBSDNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJXGU4TKNRWGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Ok, I might need a few details here (just to be sure that I' m doing things right).
Here I have a question: does it have to point to phoenix folder, or to a specific folder/file? So far, I get some errors like
when launching the app. |
A small update: I changed the path to point to (sounded more reasonable to me)
Now, when launching
|
Hmm. Let me ping @9inpachi here - he is the expert. |
Hey @davzuliani, have you built the local You need to build Phoenix at that path as it doesn't automatically happen. cd /home/dav.zuliani/Desktop/software/phoenix/phoenix/packages/phoenix-event-display
npm start
# or fully build the package but it won't support hot-reloading.
npm build And once you have done that, you can start your Angular app and it should work. Make sure you do an |
Hi @9inpachi, and thanks for the explanation.
Unfortunately, I get the same error as before. Am I missing something? |
@davzuliani I tried it on a brand new application and it's working perfectly fine. Make sure you are on the main branch and do I generated the sample application with this guide we have: https://github.com/HSF/phoenix/blob/main/guides/developers/set-up-phoenix.md If it still doesn't work for you, please share a reproducable example on codesandbox so I can test it. |
I have managed to create an event-display locally.
Now, I would like to play with physics objects, particularly creating new classes to handle physics collection.
But first, I would like to play with already existing physics collections, particularly with hits. I'm loading a edm4hep.json event data file, using the import option, but I would like to change the size of the points. How to do so?
Also, let's say that I want to include some modification in the phoenix loader, how should I do to re-build the applications?
Apologies in advance for the naive questions and thanks for your help!
The text was updated successfully, but these errors were encountered: