From dd7dd2a9b0b87f80b433811bc6a7390f2a8e46fb Mon Sep 17 00:00:00 2001 From: gautam-404 Date: Wed, 15 Nov 2023 23:27:14 +1000 Subject: [PATCH] Update gyre_access.py to copy gyre.in to a dest as gyre.in --- mesaport/Access/gyre_access.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesaport/Access/gyre_access.py b/mesaport/Access/gyre_access.py index 228a120..8d93b23 100644 --- a/mesaport/Access/gyre_access.py +++ b/mesaport/Access/gyre_access.py @@ -47,7 +47,7 @@ def load(self, gyre_in="gyre.in", dest=None): """ if dest is None: dest = os.path.join(self.projectDir, "LOGS", 'gyre.in') - shutil.copy(gyre_in, dest) + shutil.copy(gyre_in, os.path.join(dest, 'gyre.in')) def gyreDefaults(self): """Reads the defaults files and returns a dictionary with all the parameters and their values.