Previous Page Parent Page Next Page TOC
User Manual | Tools | External Tools

External Tools

Sometimes you just want to interface with 3rd party tools, and just take the current COPASI model with you. For that we added External Tools to the Tools menu. Initially, all you will see, is the entry External Tools.... When you click it the following dialog will open:

External Tools Dialog

Here you can Add new tools, after a click on add, a new entry will be added to the list, and when you select it you can modify the arguments below. Delete will delete the selected entry.

The individual settings are:

NOTE: As indicated, all the files generated are temporary files. Please ensure that you save the files if necessary somewhere else. Also the external tool should take care of the files when no longer needed.

Integrating tools

The external tool dialog loads all tools*.ini files from the $HOME/.copasi/ (macOS / Linux) or %USERPROFILE%\\.copasi\\ (windows) folder. The format looks something like:

[ExternalTool]
name=VS Code SBML
command=/usr/local/bin/code
arguments=$sbmlFile
workingDirectory=
promptForArguments=false

to add a tool you could just place such an ini file into the folder, and COPASI will pick it up.

NOTE: when using the dialog, COPASI will modify all ini files, reordering them according to the order chosen in the Menu contents list (that is modified using the Move Up / Move Down buttons)

So to uninstall a tool, delete the tool file with the command to the application to be deleted.