diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-05 12:51:21 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-05 12:51:21 -0500 |
commit | 26ed441378daadd211042dfa00e8ec55cf87d831 (patch) | |
tree | ddd19cc6efd7b518f7921c0b5ea0a884780baa94 /qolab/file_utils/__init__.py | |
parent | ac5cf2a7df5c75f631fe6f66e5d99d4eac0781cc (diff) | |
download | qolab-26ed441378daadd211042dfa00e8ec55cf87d831.tar.gz qolab-26ed441378daadd211042dfa00e8ec55cf87d831.zip |
fixed typo in filename formation
Diffstat (limited to 'qolab/file_utils/__init__.py')
-rw-r--r-- | qolab/file_utils/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qolab/file_utils/__init__.py b/qolab/file_utils/__init__.py index 49c29ab..8442d6b 100644 --- a/qolab/file_utils/__init__.py +++ b/qolab/file_utils/__init__.py @@ -66,7 +66,7 @@ def get_next_data_file(prefix, savepath, run_number=None, date_format='%Y%m%d', run_number = get_runnum( savepath ) today = date.today() datestr = today.strftime(date_format) - fname = os.path.join(savepath, f'{prefix}_{datestr}_f{run_number:05d}.{extention}') + fname = os.path.join(savepath, f'{prefix}_{datestr}_{run_number:05d}.{extention}') return(fname) def save_table_with_header(fname, data, header='', comment_symbol='%', skip_headers_if_file_exist=False, item_format='e', item_separator='\t'): |