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

attempt to fix issue 198 #269

Closed
wants to merge 1 commit into from
Closed

Conversation

esterguri
Copy link

We added a check to see if the default value is being used or if the user is setting the value.

@netlify
Copy link

netlify bot commented Apr 17, 2023

Deploy Preview for silly-keller-664934 ready!

Name Link
🔨 Latest commit 34f8cf7
🔍 Latest deploy log https://app.netlify.com/sites/silly-keller-664934/deploys/643cdc988e3fd5000871e26f
😎 Deploy Preview https://deploy-preview-269--silly-keller-664934.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@ejm714
Copy link
Collaborator

ejm714 commented May 5, 2023

This PR is misunderstanding the intent of issue #198. The goal in that issue is to avoid the warning about providing split proportions if this is just the default value that is there. This PR still logs that error and just changes the default value.

The fix may entail adding a clause in the top line of this block that checks if the values are not the default ones before surfacing this error

elif values["split_proportions"] is not None:
logger.warning(
"Labels contains split column yet split_proportions are also provided. Split column in labels takes precedence."
)
# set to None for clarity in final configuration.yaml
values["split_proportions"] = None

@ejm714 ejm714 closed this May 5, 2023
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