diff --git a/csst_common/data_manager.py b/csst_common/data_manager.py index f48c62d3a6aae5d99158b8d4aa670dd2ddbf0df4..035081f2275117446200d246b3732b2a8c37690e 100644 --- a/csst_common/data_manager.py +++ b/csst_common/data_manager.py @@ -252,8 +252,8 @@ class CsstMsDataManager: # parse info _telescope, _instrument, _survey, _imagetype, \ - _exp_start, _exp_stop, _exp_id, \ - _detector, *_l0_post, _ext = re.split(r"[_.]", fps_img[0]) + _exp_start, _exp_stop, _exp_id, \ + _detector, *_l0_post, _ext = re.split(r"[_.]", fps_img[0]) _exp_start = int(_exp_start) _exp_stop = int(_exp_stop) diff --git a/csst_common/utils/_io.py b/csst_common/utils/_io.py index fe8ddfe45a137e2a7d305edb1ef68052a9a69ff7..a45929958059321cbebcfbd607c8a7ae761ecf3a 100644 --- a/csst_common/utils/_io.py +++ b/csst_common/utils/_io.py @@ -13,7 +13,3 @@ def remove_dir(path=""): """ Remove the specified directory. """ if os.path.exists(path): shutil.rmtree(path) - - - -