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

Add `study_id` & `study_url` to general metadata #430

Closed ahernank closed 11 months ago

ahernank commented 11 months ago

Adding study_id & study_url to the general metadata df.

I've also had to update some tests and the fixtures that use the results from sample_sets() as the manifest file also includes the study metadata. Also included a new function lookup_study(sample_set) for easiness.

codecov[bot] commented 11 months ago

Codecov Report

Merging #430 (85a4405) into master (cb8256c) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #430      +/-   ##
==========================================
+ Coverage   97.49%   97.50%   +0.01%     
==========================================
  Files          26       26              
  Lines        2072     2086      +14     
==========================================
+ Hits         2020     2034      +14     
  Misses         52       52              
Files Coverage Δ
malariagen_data/anoph/base.py 93.46% <100.00%> (+0.38%) :arrow_up:
malariagen_data/anoph/sample_metadata.py 97.21% <100.00%> (+0.02%) :arrow_up: