diff options
Diffstat (limited to 'qolab/file_utils')
-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'): |