Commit 77562536 authored by jonas's avatar jonas
Browse files

out dir "/" check - linux readme

parent a5292fff
......@@ -61,6 +61,9 @@ OR : use `download_files.py` to download images from the attic repository: https
## **SETUP**
IMPORTANT
Operating System: Linux
1. Compile milos:
```bash
......
......@@ -869,6 +869,10 @@ def phihrt_pipe(data_f, dark_f = '', flat_f = '', L1_input = True, L1_8_generate
if out_demod_file:
if out_dir[-1] != "/":
print("Desired Output directory missing / character, will be added")
out_dir = out_dir + "/"
#check if the output directory exists, if not, create it
if not os.path.exists(out_dir):
print(f"{out_dir} does not exist -->>>>>>> Creating it")
......
{"data_f": ["/data/slam/home/sinjan/fits_files/solo_L1_phi-hrt-ilam_20210223T170002_V202108301640C_0142230201.fits"], "flat_f": "/data/slam/home/sinjan/fits_files/solo_L0_phi-hrt-flat_0667134081_V202103221851C_0162201100.fits", "dark_f": "../fits_files/solo_L0_phi-fdt-ilam_20200228T155100_V202002281636_0022210004_000.fits"}
\ No newline at end of file
{"data_f": ["/data/slam/home/sinjan/fits_files//solo_L1_phi-hrt-ilam_20201117T170209_V202108301639C_0051170001.fits"], "flat_f": "/data/slam/home/sinjan/fits_files/solo_L0_phi-hrt-flat_0667134081_V202103221851C_0162201100.fits", "dark_f": "../fits_files/solo_L0_phi-fdt-ilam_20200228T155100_V202002281636_0022210004_000.fits"}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment