Skip to content

Commit

Permalink
fix global development mode #222
Browse files Browse the repository at this point in the history
  • Loading branch information
elena-krismer committed Aug 15, 2023
1 parent 3e57c38 commit 673b31e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alphastats/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
def run():
file_path = os.path.realpath(__file__)
os.chdir(os.path.dirname(file_path))
os.system("python -m streamlit run AlphaPeptStats.py")
os.system("python -m streamlit run AlphaPeptStats.py --global.developmentMode=false")
_this_file = os.path.abspath(__file__)
_this_directory = os.path.dirname(_this_file)

Expand All @@ -21,7 +21,7 @@ def run():

print(f'Starting AlphaPeptStats from {file_path}')

args = ["streamlit", "run", file_path]
args = ["streamlit", "run", file_path, "--global.developmentMode=false"]

sys.argv = args

Expand Down

0 comments on commit 673b31e

Please sign in to comment.