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

Only use config server if GDA didn't supply params #496

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

olliesilvester
Copy link
Contributor

@olliesilvester olliesilvester commented Sep 16, 2024

Fixes #494
This was quite an annoying issue setting the parameters to None by default and then using an 'after' validator to say 'if None then use config server' wouldn't work due to typing complaints about setting a boolean to None.

Instead, I am using a 'before' validator to check if the parameters were supplied by GDA. I have to instantiate the Feature class as this hasn't been done at the time the 'pre' validator runs

Acceptance criteria

If GDA parameters are supplied for gpu, panda and stub_offsets, these are used. If the parameters are missing, the config server is used instead

@olliesilvester olliesilvester marked this pull request as ready for review September 17, 2024 16:20
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.

Decide how turn on experimental features
1 participant