Skip to content

Commit

Permalink
Merge pull request #278 from cta-observatory/link_datacheck
Browse files Browse the repository at this point in the history
Undo the possible symlink to longterm file before making the new one
  • Loading branch information
morcuended authored Feb 14, 2024
2 parents 4aff331 + 2ccc84e commit 5eb79d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/osa/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,4 +369,5 @@ def create_longterm_symlink():
latest_version_file = get_latest_version_file(all_longterm_files)

log.info("Symlink the latest version longterm DL1 datacheck file in the common directory.")
linked_longterm_file.unlink(missing_ok=True)
linked_longterm_file.symlink_to(latest_version_file)

0 comments on commit 5eb79d5

Please sign in to comment.