Skip to content
Snippets Groups Projects
Commit f3004970 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

fixing cal tar extraction - again.

parent 8838623c
No related branches found
No related tags found
1 merge request!589fixing cal tar extraction - again.
Pipeline #3315 passed
......@@ -62,7 +62,7 @@ class RestoreFoundation(FoundationIF):
calibration.extractall("./rawdata")
calibration.close()
src = "./rawdata/products"
src2 = "./rawdata/" + cal_name.split(".")[0] + "/products"
src2 = "./rawdata/" + cal_name[:-4] + "/products"
if Path(src).exists():
copy_tree(src, "./products/")
elif Path(src2).exists():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment