Skip to content

Commit

Permalink
dropped usage of pipeline v1 files, with the exception of metadata pa…
Browse files Browse the repository at this point in the history
…pers file.
  • Loading branch information
simonleandergrimm committed May 23, 2024
1 parent 70e7a6d commit a9fa925
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions figures/composite_fig_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,9 @@
dashboard = os.path.expanduser("~/code/mgs-pipeline/dashboard/")


with open(os.path.join(dashboard, "human_virus_sample_counts.json")) as inf:
human_virus_sample_counts = json.load(inf)

with open(os.path.join(dashboard, "metadata_samples.json")) as inf:
metadata_samples = json.load(inf)

with open(os.path.join(dashboard, "metadata_bioprojects.json")) as inf:
metadata_bioprojects = json.load(inf)

with open(os.path.join(dashboard, "metadata_papers.json")) as inf:
metadata_papers = json.load(inf)

with open(os.path.join(dashboard, "taxonomic_names.json")) as inf:
taxonomic_names = json.load(inf)

if not os.path.exists("../taxonomy"):
os.mkdir("../taxonomy")
Expand Down Expand Up @@ -583,6 +572,7 @@ def start():
print(
"fix thing where the composition dfs are being saved and reused as CSVs"
)
print("stop usage of metadata papers file")

save_plot(fig, figdir, "composite_fig_1")

Expand Down

0 comments on commit a9fa925

Please sign in to comment.