From be1b509249c60c8595a2d88dde6906820a917281 Mon Sep 17 00:00:00 2001 From: Christopher Albert Date: Wed, 15 Nov 2023 21:49:58 +0100 Subject: [PATCH] tests --- python/libneo/mgrid.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python/libneo/mgrid.py b/python/libneo/mgrid.py index de109b46..c5f31f7c 100644 --- a/python/libneo/mgrid.py +++ b/python/libneo/mgrid.py @@ -7,6 +7,9 @@ class MgridFile: def __init__(self, filename=None): if filename: self.read(filename) + + def __str__(self): + return "mgrid" def read(self, filename): with Dataset(filename, "r") as f: