MAAP-Project / Community

Issue for MAAP (Zenhub)
2 stars 1 forks source link

Put algorithm_config.yml files into a folder #1038

Open rtapella opened 3 months ago

rtapella commented 3 months ago

Currently algorithm_config.yml files are put into the user's root folder (~) This is creating a lot of clutter in that root path, often leaving dozens of yml files in a location that should not be so cluttered Solution: place the files into ~/algorithm_configs instead

Might do this at the same time as cleanup of the registration dialog: https://github.com/MAAP-Project/Community/issues/937

grallewellyn commented 3 months ago

New plan:

  1. Modify jupyter server extension so that createFile function also can optionally take in a folderName. This function change should not rely on being in /projects
  2. Default algorithm folder path is stored in algorithms extension

We decided maap-py shouldn't be the one creating the file because if the user is using maap-py to register their algorithm directly, they likely already have a yml file and don't need another to be created