Skip to content

Remove specific arguments from config file before procesing#52

Open
Ian0sborne wants to merge 2 commits intonu-ZOO:mainfrom
Ian0sborne:improve-config-parameter-extraction
Open

Remove specific arguments from config file before procesing#52
Ian0sborne wants to merge 2 commits intonu-ZOO:mainfrom
Ian0sborne:improve-config-parameter-extraction

Conversation

@Ian0sborne
Copy link
Contributor

Resolving #49, this PR removes config file parameters process and wavedump_edition explicitly instead of using array index slicing.

This is safer and more future proof for two reasons:

  1. It makes the code robust against changes in the order of config parameters.
  2. It makes it easy to adapt to potential future changes to the config file (e.g., addition of more parameters)

@Ian0sborne Ian0sborne force-pushed the improve-config-parameter-extraction branch from ecb076e to 4a98644 Compare January 29, 2026 11:15
@Ian0sborne Ian0sborne requested a review from a team January 29, 2026 11:15
@jwaiton
Copy link
Member

jwaiton commented Feb 10, 2026

I believe you've already made adjustments to this based on discussions we've had in person, so I'll wait for those changes to be committed before beginning the review :)

Copy link
Member

@jwaiton jwaiton left a comment

Choose a reason for hiding this comment

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

Other than the import, looks good! I recommend double checking that there are adequate tests for this block of code in MULE (I believe there are). Once these two things are done, I'll be able to approve it.

@@ -1,3 +1,4 @@
from concurrent.futures import process
Copy link
Member

Choose a reason for hiding this comment

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

I don't believe this import is needed is it? :)

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