From 61de62d6ad0ee968796ef6ef49fb5a21d9998c5a Mon Sep 17 00:00:00 2001 From: "Eric T. Johnson" Date: Mon, 8 Jul 2024 15:22:19 -0400 Subject: [PATCH] BUG: fix loading of AMReX datasets with `~` in the filename --- yt/frontends/amrex/data_structures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt/frontends/amrex/data_structures.py b/yt/frontends/amrex/data_structures.py index a669d9ee41..ec5d851020 100644 --- a/yt/frontends/amrex/data_structures.py +++ b/yt/frontends/amrex/data_structures.py @@ -652,7 +652,7 @@ def __init__( cparam_filename = cparam_filename or self.__class__._default_cparam_filename self.cparam_filename = self._lookup_cparam_filepath( - output_dir, cparam_filename=cparam_filename + self.output_dir, cparam_filename=cparam_filename ) self.fparam_filename = self._localize_check(fparam_filename) self.storage_filename = storage_filename