Algorithm Registration UI

The algorithm registration UI allows users to register algorithms stored in their public code repositories to the MAAP so the algorithms can then be used to run jobs on the MAAP.

Access

  1. Open your workspace

  2. Click the Register Algorithm button from the launcher menu.

image0

Register an Algorithm

  1. Open the Register Algorithm UI.

  2. Fill out the fields describing general information about the algorithm. This includes things like the repository the algorithm is stored in, the repository branch or tag (also referred to as the version of the algorithm), the command to execute the algorithm, etc.

image0

Container URLs

The Container URL is a dropdown where the default is a standard minimal container called maap_base image such as mas.maap-project.org/root/maap-workspaces/custom_images/maap_base:v4.2.0. The other option is the Container of your current workspace (i.e. R, pangeo, etc.). These containers will have numerous conda packages installed which may or may not be useful for you. Just a note if you want the default conda packages for your current workspace container, if you successfully ran the Algorithm in a Terminal without adding additional packages, then you should be able to successfully use your current workspace container as the Container URL for your algorithm. We recommend using maap_base as it makes algorithm registration faster, although using it means you need to manage your own conda packages. More information how to make a custom conda environment here.

To find another Container URL, go to: https://repo.maap-project.org/root/maap-workspaces/container_registry (choose Packages and Registries > Container registry if you go to the main maap-workspaces area). Find your base Stack and dig in until you can copy the link of the specific version of Stack that you need, as demonstrated in these screenshots: Container registry Container vanilla Container copy link This custom Container URL can be used if you register your algorithm from a yaml file instead of our algorithms UI. You can generate a sample yaml file by registering the algorithm with all your other arguments, then in the resulting generated yaml file in the algorithm-configs folder, you can manually change the Container URL.

  1. Fill out the algorithm inputs. To add a new input, click the green plus circle. To remove an input click the red x circle.

image4

  1. Once all information is filled out, click the Register Algorithm button at the bottom of the form. After a few seconds, a modal will appear with the link to the registration job that was just submitted. Users can navigate to this link to access the registration logs and confirm their algorithm was registered successfully.

image5

[ ]: