Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit e1b6f5c

Browse files
committed
Release beta 21
2 parents 5790e16 + 68a005b commit e1b6f5c

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
setup(
44
name="hca-metadata-api",
5-
version="1.0b20",
5+
version="1.0b21",
66
license='MIT',
77
install_requires=[
88
'dataclasses >= 0.6'

src/humancellatlas/data/metadata/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ class Project(Entity):
172172
geo_series_accessions: Set[str]
173173
array_express_accessions: Set[str]
174174
insdc_study_accessions: Set[str]
175+
supplementary_links: Set[str]
175176

176177
def __init__(self, json: JSON) -> None:
177178
super().__init__(json)
@@ -187,6 +188,7 @@ def __init__(self, json: JSON) -> None:
187188
self.geo_series_accessions = set(content.get('geo_series_accessions', []))
188189
self.array_express_accessions = set(content.get('array_express_accessions', []))
189190
self.insdc_study_accessions = set(content.get('insdc_study_accessions', []))
191+
self.supplementary_links = set(content.get('supplementary_links', []))
190192

191193
@property
192194
def laboratory_names(self) -> set:

test/test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,8 @@ def assert_bundle():
597597
self.assertEqual(publication.url, publication.publication_url)
598598
project_roles = {c.project_role for c in project.contributors}
599599
self.assertEqual(project_roles, {None, 'external curator', 'Human Cell Atlas wrangler'})
600+
supplementary_links = {'https://www.ebi.ac.uk/gxa/sc/experiments/E-GEOD-106540/Results'}
601+
self.assertEqual(project.supplementary_links, supplementary_links)
600602

601603
assert_bundle()
602604

0 commit comments

Comments
 (0)