Skip to content

Fix for Issue #211: Workflow get_datapoint_id ignores nonexistent label for single datapoint steps.#357

Open
AileenCleary wants to merge 1 commit into
mainfrom
aileen/issue211
Open

Fix for Issue #211: Workflow get_datapoint_id ignores nonexistent label for single datapoint steps.#357
AileenCleary wants to merge 1 commit into
mainfrom
aileen/issue211

Conversation

@AileenCleary

Copy link
Copy Markdown
Collaborator

PR Info

Fix for Issue #211

Previously, if a step had only one datapoint, there was no check against nonexistent labels. Moved logic around to check label existence for single and multiple datapoint steps at the same time, and throw a ValueError if nonexistent.

Added to unit tests to ensure an error is thrown for nonexistent labels on single datapoint steps.

Developer Checklists

I have:

  • Run Pre-commit and Unit Tests, and ensured that they pass
  • Created or updated documentation relevant to your change
  • Created or updated unit tests relevant to your change

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.

Bug: workflow get datapoint by id ignores label if it can’t find it

1 participant