diff --git a/geos-processing/src/geos/processing/post_processing/GeomechanicsCalculator.py b/geos-processing/src/geos/processing/post_processing/GeomechanicsCalculator.py index 6e4c36dc..d5eba251 100644 --- a/geos-processing/src/geos/processing/post_processing/GeomechanicsCalculator.py +++ b/geos-processing/src/geos/processing/post_processing/GeomechanicsCalculator.py @@ -742,9 +742,12 @@ def applyFilter( self: Self ) -> None: if attribute.nbComponent == 6: componentNames = ComponentNameEnum.XYZ.value - if not createAttribute( - self.output, array, attributeName, componentNames=componentNames, piece=piece, logger=self.logger ): - raise ValueError( f"Something went wrong during the creation of the attribute { attributeName }." ) + createAttribute( self.output, + array, + attributeName, + componentNames=componentNames, + piece=piece, + logger=self.logger ) self.logger.info( "All the geomechanics properties have been added to the mesh." ) self.logger.info( f"The filter { self.logger.name } succeeded." )