From 2d143d9eb31398302aed65ad643647b80dd63cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Fri, 24 Feb 2023 16:27:01 +0100 Subject: [PATCH] Some fixes for openpmd-pipe --- src/binding/python/openpmd_api/pipe/__main__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/binding/python/openpmd_api/pipe/__main__.py b/src/binding/python/openpmd_api/pipe/__main__.py index 436bd233f1..c5312d71b5 100644 --- a/src/binding/python/openpmd_api/pipe/__main__.py +++ b/src/binding/python/openpmd_api/pipe/__main__.py @@ -223,6 +223,9 @@ def run(self): self.outconfig) print("Opened input and output on rank {}.".format(self.comm.rank)) sys.stdout.flush() + # In Linear read mode, global attributes are only present after calling + # this method to access the first iteration + inseries.read_iterations() self.__copy(inseries, outseries) def __copy(self, src, dest, current_path="/data/"):