We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f93dc5 commit 2db803dCopy full SHA for 2db803d
src/ramjet/data_interface/tess_data_interface.py
@@ -641,8 +641,8 @@ def download_spoc_light_curves_for_tic_ids_chunk(
641
if manifest_row["Status"] == "COMPLETE":
642
original_file_path = Path(manifest_row["Local Path"])
643
updated_file_path = download_directory.joinpath(original_file_path.name)
644
- updated_file_path.unlink(missing_ok=True)
645
- original_file_path.rename(updated_file_path)
+ if not updated_file_path.exists():
+ original_file_path.rename(updated_file_path)
646
light_curve_paths.append(updated_file_path)
647
else:
648
error_message = (
0 commit comments