Datasets created but not seen

The template you used for this project is invalid.

It contains renku-templates/metadata.yml at main · BIOP/renku-templates · GitHub and renku-templates/template_checksums.json at main · BIOP/renku-templates · GitHub files, which a template should not have (these are created by renku when creating a project).

Since it has a metadata.yml file for version 0.16.2, (which we don’t use anymore), it is both a renku-python 0.16.2 (because of metadata.yml) and a renku-python 1.2.2 (because of .renku/metadata/project · master · Romain Guiet / ABBA-BIOP_VM · GitLab that was created when the project was created) project at the same time, which isn’t valid. If you use renku-python <1.0.0, it’ll see the metadata.yml, think this is a valid 0.16.2 project, and check .renku/datasets/ folder for datasets (which doesn’t exists, so there’s no datasets in this project). If you use renku-python 1.2.2, it’ll correctly check .renku/metadata/datasets instead and list the datasets just fine:

$ renku --version
1.2.3
$ renku dataset ls
ID                                NAME                                                               TITLE                                                              VERSION
--------------------------------  -----------------------------------------------------------------  -----------------------------------------------------------------  ---------
5e71211c69e249f8b3925da4c36d5529  serial-coronal-sections-of-an-adult-sections-brain-sample-dataset  Serial Coronal Sections Of An Adult Sections Brain Sample Dataset
ddcae20bdf084189a3ce5aae09aefa7d  allen-mouse-ccf-v3-labels-modulo-65000                             Allen Mouse CCF v3 Labels Modulo 65000

Replacing the contents of .renku/metadata.yml with

# Dummy file kept for backwards compatibility, does not contain actual version
'http://schema.org/schemaVersion': '9'

and committing that should fix the issue.

Also, the .renku/metadata.yaml and .renku/template_checksums.json should be removed from renku-templates/BIOP-virtualmachine/.renku at main · BIOP/renku-templates · GitHub to make the template valid.

1 Like