Skip to content

Gammaparse autoparser adds gamma definitions on each import.  #313

Open
@julian-zeidler

Description

@julian-zeidler

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Gammaparse autoparser adds gamma definitions on each import. · Issue #313 · johntruckenbrodt/pyroSAR