-
Notifications
You must be signed in to change notification settings - Fork 0
refactor: apply SISO decorator for geomechanics calculator #159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: apply SISO decorator for geomechanics calculator #159
Conversation
jafranc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kudos !! Great to see SISO can be expanded 👍
| except ValueError as ve: | ||
| self.logger.error( f"The filter failed.\n{ ve }." ) | ||
| except TypeError as te: | ||
| self.logger.error( f"The filter failed.\n{ te }." ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| except ValueError as ve: | |
| self.logger.error( f"The filter failed.\n{ ve }." ) | |
| except TypeError as te: | |
| self.logger.error( f"The filter failed.\n{ te }." ) | |
| except (TypeError, ValueError) as e: | |
| self.logger.error( f"The filter failed.\n{ e }." ) |
| Returns: | ||
| bool: True if calculation successfully ended, False otherwise. | ||
| """ | ||
| def _computeLithostaticStress( self: Self ) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe comment or leave a note and logging note for user not to actually call it IF the formula is not right
Almost forgot can you test that |
…sCalculator Update to the last version of the main
This pr aims to: