Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix summary CSV header #120

Merged
merged 1 commit into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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`.")