Skip to content

Conversation

@Aaron1776
Copy link
Collaborator

Fixed logic error where the self.recovery_incubation would be overwritten with input parameter even if not provided. Would result in self.recovery_incubation = None every time.

self.recovery_incubation = {'temperature': 37, 'hold_time_minutes': 60}
else:
self.recovery_incubation = recovery_incubation
self.recovery_incubation = recovery_incubation

Choose a reason for hiding this comment

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

This seems good to me I dont see the error, if there is no dict for recovery incubation it uses the default, if there is one added then that one is used insted.
the suggested fix removes that last bit and will make that it is always the one provided, that can be None causing a bug. See if these make sense to you and let me know your rationale.

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.

3 participants