Skip to content
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

Gammaparse autoparser adds gamma definitions on each import. #313

Open
julian-zeidler opened this issue Jun 10, 2024 · 0 comments
Open

Gammaparse autoparser adds gamma definitions on each import. #313

julian-zeidler opened this issue Jun 10, 2024 · 0 comments
Labels

Comments

@julian-zeidler
Copy link

Whenever the gamma module is loaded the autoparser is called to detect the GAMMA installation.

This raises two issues.
1.) The same definitions are appended on every load massively increasing the Size of the created python file and dublicating the same defines. In my home the ~/.pyrosar/gammaparse/diff.py was at 15MB and i found the same def mk_unw_ref_2d defintion 141 times.
2.) If running pyrosar in parallel multiple instances are adding to these files, making the imports randomly fail because the file is in an inconsistent state.

I am using the feature/coherence_gamma branch from inside a conda environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant