Skip to content

Commit

Permalink
Formally update the version, wait longer on startup
Browse files Browse the repository at this point in the history
The waiting fixed a bug where CYTools would error out since the Jupyter notebook wouldn't open quickly enough
  • Loading branch information
natemacfadden committed Oct 28, 2024
1 parent 31c8b3b commit 5ea3b97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/windows/launcher.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ $banner=@"
░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░░
Developed by Liam McAllister's Group
https://cy.tools | Version 1.2.5
https://cy.tools | Version 1.0.4
"@

Expand All @@ -55,9 +55,9 @@ if ( "$contid" -eq "" ) {
exit
}

# Wait for up to 10 seconds for Jupyter lab to initialize
# Wait for up to 30 seconds for Jupyter lab to initialize
$initialized = $false
for ($n = 1; $n -le 20; $n++) {
for ($n = 1; $n -le 60; $n++) {
sleep .5
$logs = docker logs cytools
if ("$logs".Contains("127.0.0.1")) {
Expand Down

0 comments on commit 5ea3b97

Please sign in to comment.