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
6 changes: 3 additions & 3 deletions AgentRemote/AgentRemote.py
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ def onApplyButton(self) -> None:
"temp_folder":slicer.util.tempDirectory(),
"history": json.dumps(historySnapshot)
}
CLI = slicer.modules.agent_cli
CLI = slicer.modules.agent_cliremote

self.cliNode = slicer.cli.run(CLI, None, cliParams)

Expand Down Expand Up @@ -827,7 +827,7 @@ def _proposeRepair(self, tool_name, params, cli_args, stderr):
import sys
import json

agent_cli_dir = os.path.dirname(slicer.modules.agent_cli.path)
agent_cli_dir = os.path.dirname(slicer.modules.agent_cliremote.path)
if agent_cli_dir not in sys.path:
sys.path.insert(0, agent_cli_dir)

Expand Down Expand Up @@ -1074,7 +1074,7 @@ def process(self,
"folders": folders,
"prompt": prompt
}
CLI = slicer.modules.agent_cli
CLI = slicer.modules.agent_cliremote
self.cliNode = slicer.cli.run(CLI, None, cliParams, wait=False)
output_text = self.cliNode.GetOutputText()
stopTime = time.time()
Expand Down
2 changes: 1 addition & 1 deletion AgentRemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(MODULE_PYTHON_SCRIPTS

set(MODULE_PYTHON_RESOURCES
Resources/Icons/${MODULE_NAME}.png
Resources/UI/${MODULE_NAME}.ui
Resources/UI/Agent.ui
)

#-----------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<executable>
<title>Agent_CLI</title>
<title>Agent_CLI Remote</title>
<category>Automated Dental Tools.Advanced</category>
<description><![CDATA[Agent CLI Router]]></description>
<version>0.1.0</version>
Expand Down
2 changes: 1 addition & 1 deletion Agent_CLIRemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ set(MODULE_PYTHON_SCRIPTS
set(MODULE_PYTHON_RESOURCES
${MODULE_NAME}.xml
Resources/Icons/${MODULE_NAME}.png
Resources/UI/${MODULE_NAME}.ui
Resources/UI/Agent_CLI.ui
manifest.yaml
)

Expand Down
2 changes: 1 addition & 1 deletion AutoCrop3DRemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(MODULE_PYTHON_SCRIPTS
)

set(MODULE_PYTHON_RESOURCES
Resources/Icons/AutoCrop3D.png
Resources/Icons/${MODULE_NAME}.png

)

Expand Down
2 changes: 1 addition & 1 deletion CLICRemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ set(MODULE_PYTHON_SCRIPTS
)

set(MODULE_PYTHON_RESOURCES
Resources/Icons/CLIC.png
Resources/Icons/${MODULE_NAME}.png

)

Expand Down
2 changes: 1 addition & 1 deletion CNERemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(MODULE_PYTHON_SCRIPTS

set(MODULE_PYTHON_RESOURCES
Resources/Icons/${MODULE_NAME}.png
Resources/UI/${MODULE_NAME}.ui
Resources/UI/CNE.ui
)

#-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion CNERemote/CNERemote.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ def process(self, notesFolder_input: str,

os.makedirs(notesFolder_output, exist_ok=True)

CLI_module = slicer.modules.cne_cli
CLI_module = slicer.modules.cne_cliremote
parameters = {
"notesFolder_input": notesFolder_input,
"notesType": notesType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<executable>
<category>Automated Dental Tools.Advanced</category>
<index>0</index>
<title>CNE_CLI</title>
<title>CNE_CLI Remote</title>
<description><![CDATA[Apply a Gaussian blur to an image]]></description>
<version>0.1.0.</version>
<documentation-url>https://github.com/username/project</documentation-url>
Expand Down
2 changes: 1 addition & 1 deletion MRI2CBCTRemote/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set(MODULE_PYTHON_SCRIPTS

set(MODULE_PYTHON_RESOURCES
Resources/Icons/${MODULE_NAME}.png
Resources/UI/${MODULE_NAME}.ui
Resources/UI/MRI2CBCT.ui
)

#-----------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion MRI2CBCT_CLIRemote/ImportLibrary.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------
set(MODULE_NAME MRI2CBCT_CLI_utils)
set(MODULE_NAME MRI2CBCT_CLIRemote_utils)

#-----------------------------------------------------------------------------
set(MODULE_PYTHON_SCRIPTS
Expand Down
1 change: 1 addition & 0 deletions ServerToolsCore/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ set(MODULE_PYTHON_SCRIPTS
ServerToolsCoreLib/worker.py
ServerToolsCoreLib/base_widget.py
ServerToolsCoreLib/settings_qt.py
ServerToolsCoreLib/tls.py
)

set(MODULE_PYTHON_RESOURCES
Expand Down