From 5ea1a34c53b490e37da8222a4997cdfe547c30db Mon Sep 17 00:00:00 2001 From: magnesj <1793152+magnesj@users.noreply.github.com> Date: Sun, 18 Jan 2026 13:56:15 +0000 Subject: [PATCH] Python code linting changes detected by black --- .../rips/PythonExamples/basic_operations/error_handling.py | 1 - .../create_surface_from_thermal_fracture.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/GrpcInterface/Python/rips/PythonExamples/basic_operations/error_handling.py b/GrpcInterface/Python/rips/PythonExamples/basic_operations/error_handling.py index 9af7b20f1c..1fa289df94 100644 --- a/GrpcInterface/Python/rips/PythonExamples/basic_operations/error_handling.py +++ b/GrpcInterface/Python/rips/PythonExamples/basic_operations/error_handling.py @@ -6,7 +6,6 @@ import rips import tempfile - resinsight = rips.Instance.find() case = None diff --git a/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/create_surface_from_thermal_fracture.py b/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/create_surface_from_thermal_fracture.py index 0fd8c68ea6..936e408e86 100644 --- a/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/create_surface_from_thermal_fracture.py +++ b/GrpcInterface/Python/rips/PythonExamples/wells_and_fractures/create_surface_from_thermal_fracture.py @@ -56,7 +56,7 @@ TFACE text_file.write(bottom_header) i = 1 - (num_rows, num_props) = point_cloud.shape + num_rows, num_props = point_cloud.shape for row in range(0, num_rows): x = point_cloud[row, 0] y = point_cloud[row, 1] @@ -115,7 +115,7 @@ for fracture in fractures: ) # Reconstruct a surface from the exported values file - (surface, point_cloud, properties) = generate_surface_from_file( + surface, point_cloud, properties = generate_surface_from_file( temp_file_path.as_posix() )