Skip to content

Conversation

@PGijsbers
Copy link
Collaborator

@PGijsbers PGijsbers commented Jun 16, 2023

It is not allowed to attach a run to a study which is already associated with the study. This leads to a misleading error: 1045: Problem attaching entities. Please ensure to only attach entities that exist - None

Two counter measures:

  • Fetch 11 run candidates to attach, which guarantees at least one is not already attached (assuming 11 runs exist)
  • Filter the candidates so that already attached runs are excluded from being attached again

It is not allowed to attach a run to a study which is already
associated with the study. This leads to a misleading error:
`1045: Problem attaching entities. Please ensure to only attach entities that exist - None`
@PGijsbers PGijsbers requested a review from mfeurer June 16, 2023 17:27
@mfeurer mfeurer merged commit 8418915 into develop Jun 16, 2023
@mfeurer mfeurer deleted the fix_study_test branch June 16, 2023 19:32
github-actions bot pushed a commit that referenced this pull request Jun 16, 2023
github-actions bot pushed a commit to Bilgecelik/openml-python that referenced this pull request Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants