Closed ljwh2 closed 2 days ago
I have cleaned log files older than 1 month. The new cleaning script is running daily to clean the day job launched 1 month ago.
For jobs finished before 19th June 2024,
For jobs run after the 19th of June 2024: It will be cleaned after 1 month, which is managed by a scrontab job running daily (a small and quick job)
For the log_clean_script:
How large the log file will be:
Error message example: 20240621 majordirectionmaptobuild 1 GCST90133175 raise KeyError(key) from err;KeyError: 'variant_id'; q 20240621 majordirectionmaptobuild 1 GCST90264796_chr8 value = float(value);ValueError: could not convert string to float: '+';
Planned strategy after discussing with Laura:
After the harmonisation pipeline, except successfully harmonised result which has been moved to ftp, we only need: plain text file log which has two columns, GCST and error message from last error file.
To do list: