From 70875e6629ba13941ea9f4a7c6536244c83a9d59 Mon Sep 17 00:00:00 2001 From: "Sergey E. Koposov" Date: Tue, 26 Dec 2023 14:36:23 +0000 Subject: [PATCH] fix prev commit --- py/minimint/mist_interpolator.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/py/minimint/mist_interpolator.py b/py/minimint/mist_interpolator.py index 1337508..f2d890a 100644 --- a/py/minimint/mist_interpolator.py +++ b/py/minimint/mist_interpolator.py @@ -61,7 +61,7 @@ def getheader(f): def read_grid(eep_prefix, outp_prefix): - fs = glob.glob(os.path.join([eep_prefix, '*EEPS', '*eep'])) + fs = glob.glob(os.path.join(eep_prefix, '*EEPS', '*eep')) assert (len(fs) > 0) tmpfile = utils.tail_head(fs[0], 11, 10) tab0 = atpy.Table().read(tmpfile, format='ascii.fast_commented_header') diff --git a/setup.py b/setup.py index ae0c1dd..cf475df 100644 --- a/setup.py +++ b/setup.py @@ -41,7 +41,7 @@ def read(fname): VERSIONPIP = read('version.txt').rstrip() VERSION = VERSIONPIP + get_revision() -with open(os.path.join(['py', 'minimint', '_version.py']), 'w') as fp: +with open(os.path.join('py', 'minimint', '_version.py'), 'w') as fp: print('version="%s"' % (VERSION), file=fp) setup(