π Method / Algorithm Importerο
The Method / Algorithm Importer allows users to define and configure new computational methods, or edit existing ones. It is accessible via the Analytics Engine and is intended for method developers.
By default, the editor opens with an empty form, ready for a new method definition.
Alternatively, an existing method can be selected from the Methods List for modification.
ποΈ Methods Listο
The left panel displays all available methods.
To edit one:
Click the Edit icon next to the method
Or drag and drop the method into the editor form
π See: π Methods list
π§© Method Editorο
This is the central form for defining a methodβs structure and behavior. It is composed of:
π Basic Informationο
Title: Name of the method
Version: Semantic versioning (e.g.,
1.0.0
)Description: Short summary of the methodβs purpose
Keywords: Tags for categorization (e.g.,
python
,nlp
)Categories: Method domain
Compatible infrastructures: Where the method can be executed
π§ͺ Input Fieldsο
Inputs define the parameters that will be presented to the user during execution.
Supported input types include:
ccpimage: Defines the runtime Docker image
File: Upload a file during execution
Workspace File: Select a file from the workspace
URL: Provide a public URL
String / Number / Boolean: Free parameters
Geographic input: Map-based selection
Secret: For sensitive credentials
Enumerated values: Predefined list (single or multiple choice)
Each input has:
Input name and label
Description
Required/optional flag (
min count
)Format (e.g.,
file
,number
,date
,code
)Default value
Mime type (e.g.,
text/plain
)
π§Ύ Enumerated Inputsο
If enumerated type is selected, the editor allows to define a list of values and choose between:
single_choice
: radio buttons or dropdownmulti_choice
: checkboxes
π¦ Outputsο
The Outputs section lets users declare which result files will be generated.
By default, the list is empty. You can add:
β
stdout
(green icon): standard outputβ
stderr
(red icon): error logπ Custom outputs (blue icon): result files
Outputs can be removed using the trash icon.
βοΈ Deploy and Execute Scriptsο
This section defines two Bash scripts used at runtime:
Deploy: executed before the main method.
Typically used to:Clone the repository
Install dependencies
Prepare data
Execute: runs the main logic using input parameters
Placeholders like {{input_file}}
are automatically replaced with the user-provided values.
πΎ Method Managementο
While editing the method, the following actions are available:
πΎ Save: persist the method definition
π§Ή Clean: reset the form
ποΈ Delete: remove the method
Saved methods will reappear in the Methods List.