To be generic, all PI should provide some entries script.
For octave, an example can be seen there:
This file can be placed at the root of the repository for instance. MAe sure adjusting the add_path in it.
This function is just the entry point that then will call the main function of the computation. It is mandatory to list all input files, and to use as last parameters the name of a folder where result files should be written.
You should not assume any location for the result file, like in here. You should have the output folder as input parameter of your script, and do something like here
To be generic, all PI should provide some entries script. For octave, an example can be seen there:
This file can be placed at the root of the repository for instance. MAe sure adjusting the add_path in it.
This function is just the entry point that then will call the main function of the computation. It is mandatory to list all input files, and to use as last parameters the name of a folder where result files should be written.
You should not assume any location for the result file, like in here. You should have the output folder as input parameter of your script, and do something like here