From c21c43d96847f8921752772cfa1421b3b8c0aa6f Mon Sep 17 00:00:00 2001 From: David Loiseaux Date: Tue, 24 Sep 2024 16:08:00 +0200 Subject: [PATCH] fix: saner default for vineyard (although slower in some situations) --- multipers/ml/point_clouds.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multipers/ml/point_clouds.py b/multipers/ml/point_clouds.py index 7c60226..d51cde4 100644 --- a/multipers/ml/point_clouds.py +++ b/multipers/ml/point_clouds.py @@ -255,7 +255,7 @@ def _define_sts(self): f"Invalid complex \ {self.complex}. Possible choises are rips, delaunay, or alpha." ) - self._vineyard = self.output_type in ["slicer", "slicer_vine"] + self._vineyard = self.output_type is None or "novine" not in self.output_type self._output_type = ( _pref_output if self.output_type is None