Skip to content

Conversation

@harryswift01
Copy link
Contributor

@harryswift01 harryswift01 commented Mar 20, 2025

Summary

This PR resolves an issue whereby the naming convention on the new argument handler didn't correctly have the correct association, which resulted in a crash in the program as it was not in the arg_map dictionary.

Changes

Re-named variables: :

  • Changed all instances of args.temp to args.temperature

Impact

  • This will now allow calculations within CodeEntropy to run as expected and not result in a crash when it comes across the args.temp declaration

@harryswift01 harryswift01 added the bug Something isn't working label Mar 20, 2025
@harryswift01 harryswift01 added this to the WP4 - Input/Output milestone Mar 20, 2025
@harryswift01 harryswift01 requested a review from jimboid March 20, 2025 15:24
@harryswift01 harryswift01 self-assigned this Mar 20, 2025
@harryswift01 harryswift01 linked an issue Mar 20, 2025 that may be closed by this pull request
@skfegan
Copy link
Member

skfegan commented Mar 20, 2025

I am going to be annoying and ask if maybe the variable name should be changed to temperature rather than using an abbreviation (or having conflicts between different variations on the abbreviation)?

@harryswift01
Copy link
Contributor Author

@skfegan yeah this makes more sense now, thanks for double checking.

Copy link
Member

@jimboid jimboid left a comment

Choose a reason for hiding this comment

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

Looks good

@harryswift01 harryswift01 merged commit bdcbefc into main Mar 20, 2025
6 checks passed
@harryswift01 harryswift01 deleted the 68-argument-mismatch branch March 20, 2025 15:53
@jimboid jimboid modified the milestones: WP4 - Input/Output, 1.0.0 release Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Argument Mismatch When Implementing Dual Input Interface

4 participants