Skip to content

Commit

Permalink
Merge pull request #120 from ReubenJ/fix/missing-csv-header
Browse files Browse the repository at this point in the history
Fix summary CSV header
  • Loading branch information
daemontus authored Oct 17, 2024
2 parents ee1b2ac + a746d1d commit ae983bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion models/summary.csv
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("."):
Expand Down Expand Up @@ -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`.")
print("Dataset summary written to `models/summary.csv`.")

0 comments on commit ae983bc

Please sign in to comment.