Skip to content

Commit bd876cf

Browse files
authored
Merge pull request #9 from sandialabs/atpolonsky-patch-1
Update App.py
2 parents b4c37cd + 1f61c66 commit bd876cf

File tree

1 file changed

+3
-2
lines changed
  • src/pytribeam/GUI/config_ui

1 file changed

+3
-2
lines changed

src/pytribeam/GUI/config_ui/App.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,9 +461,10 @@ def update_laser_from_scope(self):
461461
if laser_state[key] is None:
462462
laser_state[key] = ""
463463

464+
#TODO clear out only necessary sections, not the whole thing
464465
# Empty the current laser db
465-
for key in self.CONFIG[self.STEP_INDEX].keys():
466-
self.CONFIG[self.STEP_INDEX][key] = ""
466+
# for key in self.CONFIG[self.STEP_INDEX].keys():
467+
# self.CONFIG[self.STEP_INDEX][key] = ""
467468

468469
# Pass the laser state values to the config file
469470
self.CONFIG[self.STEP_INDEX]["pulse/wavelength_nm"] = laser_state[

0 commit comments

Comments
 (0)