From 632b8c01eb544fcb3446197025412d89708b98b3 Mon Sep 17 00:00:00 2001 From: pchaillo Date: Tue, 28 Nov 2023 18:14:55 +0100 Subject: [PATCH] remove deprecation warning that may create errors --- python3/src/splib3/topology/remeshing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python3/src/splib3/topology/remeshing.py b/python3/src/splib3/topology/remeshing.py index daa6c7f..d296364 100644 --- a/python3/src/splib3/topology/remeshing.py +++ b/python3/src/splib3/topology/remeshing.py @@ -41,9 +41,9 @@ def index_from_axis(points,axis,old_indices = None): # :returns: new_points : tab of the points in the new order :returns: ind_tab : tab that contains [old_indices] at new indices position. Liste des anciens indices des points, triés dans le nouvel ordre """ - if old_indices == 'null': - raise DeprecationWarning("Attention, old_indices est à 'null', the new norm is old_indices = None") - # old_indices = None + # if old_indices == 'null': + # raise DeprecationWarning("Attention, old_indices est à 'null', the new norm is old_indices = None") + # # old_indices = None if old_indices is None : old_indices = default_indices(len(points))