Skip to content

Commit

Permalink
v1.1.2
Browse files Browse the repository at this point in the history
cumulative.
- no longer auto-plots spectra on completion if not on windows (saves memory in embedded applications i.e. linux)
  • Loading branch information
zebhall committed Jul 10, 2024
1 parent 49cb859 commit fef35eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions S1Control.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
all_xray_lines,
)

versionNum = "v1.1.1" # v0.9.6 was the first GeRDA-control version
versionDate = "2024/06/26"
versionNum = "v1.1.2" # v0.9.6 was the first GeRDA-control version
versionDate = "2024/07/10"


class BrukerInstrument:
Expand Down Expand Up @@ -6286,6 +6286,10 @@ def queryXraySettings_clicked():

# FLAG TO CONTROL AUTOMATIC SPECTRA PLOTTING ON PHASE/ASSAY COMPLETION
doAutoPlotSpectra_var = ctk.BooleanVar(value=True)
# if on linux (rpi) don't auto plot - saves memory
if not sys.platform.startswith("win"):
doAutoPlotSpectra_var.set(False)

checkbox_doAutoPlotSpectra = ctk.CTkCheckBox(
ctrltabview.tab("Options"),
text="Automatically Plot Spectra",
Expand Down

0 comments on commit fef35eb

Please sign in to comment.