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

Fix for matrix element generation #316

Merged
merged 18 commits into from
Oct 22, 2024
Merged

Fix for matrix element generation #316

merged 18 commits into from
Oct 22, 2024

Conversation

pschicho
Copy link
Collaborator

Very short PR that includes updates to the src/WallGo/mathematicaHelpers.py file to improve code readability and functionality. The most important changes include adding a module-level docstring, refactoring the banner printing, and updating the subprocess command.

Improvements to code readability:

Refactoring and functionality updates:

  • src/WallGo/mathematicaHelpers.py: Refactored the banner printing in generateMatrixElementsViaSubprocess to split it into upperBanner and lowerBanner for better readability.
  • src/WallGo/mathematicaHelpers.py: Updated the command list in generateMatrixElementsViaSubprocess to include --outputFile for clarity and correctness.

Copy link
Collaborator

@jorindevandevis jorindevandevis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and works well!

@pschicho pschicho merged commit 0e2a546 into main Oct 22, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants