From 155b7c1f5aba1045954c95e952dddbac67d71fec Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Mon, 18 Nov 2024 16:26:51 +0100 Subject: [PATCH] minor fix for API change in stam-rust --- src/annotationdataset.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/annotationdataset.rs b/src/annotationdataset.rs index 4cf64fc..a95699d 100644 --- a/src/annotationdataset.rs +++ b/src/annotationdataset.rs @@ -94,11 +94,7 @@ impl PyAnnotationDataSet { /// Returns the annotation stdataset as one big STAM JSON string fn to_json_string(&self) -> PyResult { - self.map(|annotationset| { - annotationset - .as_ref() - .to_json_string(annotationset.as_ref().config()) - }) + self.map(|annotationset| annotationset.as_ref().to_json_string()) } /// Get a DataKey instance by ID, raises an exception if not found