Skip to content

Conversation

@IsakNaslundBh
Copy link
Contributor

Issues addressed by this PR

Closes #505
Closes #506
Closes #507

  • Fix issue with 2darrays for MultiOutputChecks
  • Fix issue with Generic return in create methods
  • simplify code for IsValidCreateMethod

Test files

Changelog

Additional comments

Fixes checks by adding [] as split chars
Instead of explicitly checking some specific folder and specific indices simply loop backwards from the filename to the create folder and check if one of the paths is a match.

Avoid the copy pasting of regex, and constant index out of bounds exceptions being thrown.
@IsakNaslundBh IsakNaslundBh added the type:bug Error or unexpected behaviour label Mar 20, 2025
@IsakNaslundBh IsakNaslundBh requested a review from adecler March 20, 2025 14:49
@IsakNaslundBh IsakNaslundBh self-assigned this Mar 20, 2025
Copy link
Member

@adecler adecler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving based on

  • code review
  • testing that all code compliance checks are now passing for the BHoM_Engine using
    this script

@adecler
Copy link
Member

adecler commented Mar 20, 2025

@BHoMBot check null-handling
@BHoMBot check project-compliance
@BHoMBot check serialisation

@bhombot-ci
Copy link

bhombot-ci bot commented Mar 20, 2025

@adecler to confirm, the following actions are now queued:

  • check null-handling
  • check project-compliance
  • check serialisation

@adecler adecler merged commit 3409aa0 into develop Mar 20, 2025
3 checks passed
@adecler adecler deleted the CodeComplianceTest_Engine-#505-FixIncompleteComplianceChecks branch March 20, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:bug Error or unexpected behaviour

Projects

None yet

3 participants