Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Tutorials/FourMinuteTutorial/FourMinuteTutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,6 @@ def test_Slicer4Minute1(self):
self.delayDisplay('Optic chiasm should be visible. Front part of white matter should be clipped.')

# Done
slicer.util.findChildren(name="SpinButton")[0].click()
# TUTORIALMAKER END
self.delayDisplay('Test passed!')
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,14 @@ def test_Slicer4Minute1(self):
mainWindow = slicer.util.mainWindow()

self.delayDisplay("Starting the test")

# Instalar dependências necessárias ANTES de começar
self.delayDisplay("Verificando e instalando dependências...")
import MONAIAuto3DSeg
logic = MONAIAuto3DSeg.MONAIAuto3DSegLogic()
logic.setupPythonRequirements(upgrade=False)
self.delayDisplay("Dependências instaladas com sucesso!")

# TUTORIALMAKER BEGIN

# Clear the scene to start fresh
Expand Down Expand Up @@ -77,7 +85,7 @@ def test_Slicer4Minute1(self):
import zipfile

# Caminho para salvar o ZIP e extrair
zip_url = "https://www.dropbox.com/scl/fi/mdbz1gklawyxmi0tukxpu/SlicerData.zip?rlkey=7lymqsoa39e9pkr1v8hatq2e2&e=1&dl=1"
zip_url = "https://www.dropbox.com/scl/fi/2lz93yzzghymnek8hy5f0/SlicerData.zip?rlkey=vzkk5v7dezr96eppa3rgw7vv4&e=1&st=6nw38gaj&dl=1"
zip_path = os.path.join(slicer.app.temporaryPath, "SlicerData.zip")
extract_path = os.path.join(slicer.app.temporaryPath, "SlicerData")

Expand Down
Loading