Skip to content

Updating models to allow normal imports

Zach Marshall requested to merge zmarshal/MadGraphModels:normal_imports into main

This updates the python for all the models to allow normal importing in python3. There should not be any impact on the running of the model; everything will function as it did before, but the imports follow standard python rules instead of the slightly weird standards they did before.

In addition, there's a helper script that's been added to automatically update a model to make it importable, and there's a piece of the pre-commit hook that's been added to test if the models are all import-compatible.

Merge request reports

Loading