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

Fixing an args type bug in launcher tunable_values processing #958

Merged
merged 2 commits into from
Feb 28, 2025

Conversation

bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Feb 28, 2025

Pull Request

Title

Fixing an args type bug in launcher tunable_values processing


Description

If tunable_values are specified in both a config file and on the cli args, but the config file specifies them as a string, python will throw an exception when trying to concat a string and a list. The json schema allows either a list of paths or a single path, so this is valid in that sense.

This also fixes the processing function args to only accept a list in both cases.


Type of Change

  • 🛠️ Bug fix

Testing

Locally


@bpkroth bpkroth added the bug Something isn't working label Feb 28, 2025
@bpkroth bpkroth requested a review from a team as a code owner February 28, 2025 18:49
@bpkroth bpkroth enabled auto-merge (squash) February 28, 2025 18:50
@bpkroth bpkroth merged commit 9582a26 into main Feb 28, 2025
16 checks passed
@bpkroth bpkroth deleted the args-parsing-fixups branch February 28, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants