-
Notifications
You must be signed in to change notification settings - Fork 63
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
Loading from state is not working correctly #187
Comments
Yup, expected. You have to make |
Does this new bug work fine with loading state from the menu? |
I forgot to put it earlier, but we could also load state from code after all the loading is done (see here). |
No. Same issue when loading state from the menu. I like the idea of doing it once loading is done though! |
Ok, then I will have to look into the export and import state functions. I will give news tonight maybe. |
Indeed. The loading manager is pretty cool I think. |
So @EdwardMoyse, The file you exported is wrong / you missed something. For the file https://github.com/EdwardMoyse/phoenix/blob/add-atlas-default-config/packages/phoenix-ng/projects/phoenix-app/src/assets/files/config/atlas-config.json I tried exporting to see if it's a problem with export but my export works fine and I can also import the same exported file with disabled / hidden Jets collections without a problem. So just disable the collections, export again and replace the file in assets. |
From #188 |
Fixes HSF#187 - not quite sure why!
Whoops - you were right ... however in my local tests I was using a file with the correct configuration (not for the final check of loading from the menu, obviously!). For reasons I don't quite understand, using the loading Manager fixes it! So I think this can be closed now. |
I tried to add a default configuration for ATLAS, but it isn't working correctly:
https://github.com/EdwardMoyse/phoenix/blob/add-atlas-default-config/packages/phoenix-ng/projects/phoenix-app/src/app/sections/atlas/atlas.component.ts#L74
specifically, some jet collections should be disabled, and the pixel and SCT hits should be different colours to red.
When you choose 'Load State' from the menu, then it works as expected.
The text was updated successfully, but these errors were encountered: