Commit 15816b03 authored by Francesco Amadori's avatar Francesco Amadori
Browse files

get instrument esolved gianob

parent 25d806eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1162,7 +1162,7 @@ class Frame_Gofio:
        username = os.environ.get("USER")
        username = os.environ.get("USER")
        path_temp_file = str(Path(self.path_default, "DataReductionGIANOB", "Files", "Temp_Files_GUI", username))
        path_temp_file = str(Path(self.path_default, "DataReductionGIANOB", "Files", "Temp_Files_GUI", username))
        os.system("mkdir -p " + path_temp_file)
        os.system("mkdir -p " + path_temp_file)
        instrument = self.chosen_instrument_var_gianob.get("1.0", tk.END).strip()
        instrument = self.chosen_instrument_var_gianob.get()
        with open(str(Path(self.path_default, "DataReductionGIANOB", "Instruments", instrument + ".yaml")), "r") as f:
        with open(str(Path(self.path_default, "DataReductionGIANOB", "Instruments", instrument + ".yaml")), "r") as f:
            yaml_file = yaml.safe_load(f)
            yaml_file = yaml.safe_load(f)
        path_night = str(Path(
        path_night = str(Path(