malariagen / malariagen-data-python

Analyse MalariaGEN data from Python
https://malariagen.github.io/malariagen-data-python/latest/
MIT License
13 stars 23 forks source link

Study URL in sample_metadata() is hard-coded rather than sourced from manifest.tsv #562

Open leehart opened 2 weeks ago

leehart commented 2 weeks ago

This means, for example, that literature sample sets such as fontaine-2015-rebuild show the wrong study URL (i.e. not the one from the release manifest.tsv) when running sample_metadata().

anoph/sample_metadata.py

            study = self.lookup_study(sample_set=sample_set)
            df["study_id"] = study
            df[
                "study_url"
            ] = f"https://www.malariagen.net/network/where-we-work/{study}"

I plan to fix this via PR #560 as terms-of-use info are added.