From a746d1d4f69b583672a36898f7e3ee9eb0fd8d55 Mon Sep 17 00:00:00 2001 From: Reuben Gardos Reid <5456207+ReubenJ@users.noreply.github.com> Date: Thu, 17 Oct 2024 13:18:37 +0200 Subject: [PATCH] Fix summary CSV header Include `inputs` in the header. Reran `sync.py` to update the CSV. --- models/summary.csv | 2 +- sync.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/models/summary.csv b/models/summary.csv index 04cddc5..2194c01 100644 --- a/models/summary.csv +++ b/models/summary.csv @@ -1,4 +1,4 @@ -ID, name, variables, regulations +ID, name, variables, inputs, regulations 001, SIGNALING-IN-MACROPHAGE-ACTIVATION, 302, 19, 533 002, SIGNAL-TRANSDUCTION-IN-FIBROBLASTS, 130, 9, 557 003, MAMMALIAN-CELL-CYCLE, 19, 1, 51 diff --git a/sync.py b/sync.py index 6a51de1..594de31 100644 --- a/sync.py +++ b/sync.py @@ -99,7 +99,7 @@ def fix_variable_names(model: BooleanNetwork): else: test_id = None -meta_csv_summary = "ID, name, variables, regulations\n" +meta_csv_summary = "ID, name, variables, inputs, regulations\n" for model_dir in source_directories: if model_dir.startswith("."): @@ -214,4 +214,4 @@ def fix_variable_names(model: BooleanNetwork): print("\t - Model exported into", output_directory) Path(f'models/summary.csv').write_text(meta_csv_summary) -print("Dataset summary written to `models/summary.csv`.") \ No newline at end of file +print("Dataset summary written to `models/summary.csv`.")