-
Notifications
You must be signed in to change notification settings - Fork 10
Feature: standard config selected by validator based on nlayer value #712
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
Feature: standard config selected by validator based on nlayer value #712
Conversation
🔍 Schema Preview DeployedPreview URLs:
Production URLs (unchanged):
|
Co-authored-by: dayantur <[email protected]>
🤖 I've automatically formatted the code in this PR using:
Please pull the latest changes before making further edits. |
Co-authored-by: dayantur <[email protected]>
🤖 I've automatically formatted the code in this PR using:
Please pull the latest changes before making further edits. |
Co-authored-by: dayantur <[email protected]>
🤖 I've automatically formatted the code in this PR using:
Please pull the latest changes before making further edits. |
hi @sunt05 :) At the moment, all user configs are validated against sample_config.yml, which has nlayer==3. When user has nlayer≠3: This PR addresses a practical but not yet very elegant solution proposing to:
|
I understand your point, but we need a cleaner solution. We shouldn't keep adding sample files to address this. Let's consider another plan. |
I agree with you :( This strategy does not work well in the long term. One idea could be to add rules to phase A associated with nlayer number. |
Hi @sunt05 :) I am succesfully implementing the idea above in draft PR #731 . I will let you know there once ready for a review :) |
this has ben resolved in #731 |
This PR addresses issue #707 by proposing a logic in the validator that selects a specific sample config (with a specific structure) based on nlayer value.
This PR is also directly related to PR #690 and should be merged after that.
Main changes
Further implementations
Future implementations
A more elegant feature that implements a rule/logic to check yaml structure based on user nlayer value and independently from sample_config standard will be addressed in a separate PR.