diff --git a/github-ci/src/biocontainersci/biotools.py b/github-ci/src/biocontainersci/biotools.py index cf98201..50d731a 100644 --- a/github-ci/src/biocontainersci/biotools.py +++ b/github-ci/src/biocontainersci/biotools.py @@ -163,8 +163,10 @@ def run(self, f, labels, branch=None): data = { 'software': name, - 'labels': deepcopy(clabels), - 'versions': [] + "url": "biocontainers/" + name + ":" + container_version, + "version": container_version, + "type": "Container file", + 'labels': deepcopy(clabels) } softwares = {'softwares': {}} @@ -172,17 +174,6 @@ def run(self, f, labels, branch=None): for file_path in files_to_write: - if name not in softwares["softwares"]: - softwares["softwares"][name] = data - - new_download = { - "url": "biocontainers/" + name + ":" + container_version, - "version": container_version, - "type": "Container file", - "labels": deepcopy(clabels) - } - softwares["softwares"][name]["versions"].append(new_download) - with open(file_path, 'w') as fp: dump(softwares, fp, Dumper=Dumper)