Skip to content

Commit

Permalink
minor fix for API change in stam-rust
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Nov 18, 2024
1 parent 74e6747 commit 155b7c1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/annotationdataset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ impl PyAnnotationDataSet {

/// Returns the annotation stdataset as one big STAM JSON string
fn to_json_string(&self) -> PyResult<String> {
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
Expand Down

0 comments on commit 155b7c1

Please sign in to comment.