Skip to content

Commit

Permalink
Remove all backend processing (#941)
Browse files Browse the repository at this point in the history
Fix #473

Remove all back-end processing required when a simulation is uploaded. Running make simulations is no longer required to generate new data for the front-end. It is still required to check the data. This means that the front-end uses the meta.yaml directly with no intermediate JSON or YAML needed to be updated after every upload. A lot of Python and JSON files that are no longer required for backend processing have been removed.
  • Loading branch information
wd15 authored Mar 12, 2019
1 parent c6e8dfe commit 3353d98
Show file tree
Hide file tree
Showing 15 changed files with 146 additions and 1,334 deletions.
8 changes: 1 addition & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,7 @@ $(HEXBIN_OUT): $(HEXBIN_IN)

yamllint: $(YAML_FILES_OUT)

data_table: _data/data_table.py
python _data/data_table.py

doi_data: _data/to_doi_csv.py
python _data/to_doi_csv.py

simulations: yamllint data_table
simulations: yamllint

hexbin: $(HEXBIN_OUT)

Expand Down
93 changes: 1 addition & 92 deletions _data/charts/benchmark_upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,97 +51,6 @@
"values": []
}
],
"data": [
{
"name": "code_uploads",
"values": [
{
"count": 17,
"name": "1b"
},
{
"count": 13,
"name": "1c"
},
{
"count": 12,
"name": "1a"
},
{
"count": 10,
"name": "3a"
},
{
"count": 8,
"name": "1d"
},
{
"count": 7,
"name": "2a"
},
{
"count": 6,
"name": "2b"
},
{
"count": 6,
"name": "2c"
},
{
"count": 6,
"name": "2d"
},
{
"count": 6,
"name": "7a"
},
{
"count": 5,
"name": "6a"
},
{
"count": 3,
"name": "6b"
},
{
"count": 1,
"name": "4a"
},
{
"count": 1,
"name": "4b"
},
{
"count": 1,
"name": "4c"
},
{
"count": 1,
"name": "4d"
},
{
"count": 1,
"name": "4e"
},
{
"count": 1,
"name": "4f"
},
{
"count": 1,
"name": "4g"
},
{
"count": 1,
"name": "4h"
},
{
"count": 1,
"name": "7b"
}
]
}
],
"height": 115,
"marks": [
{
Expand Down Expand Up @@ -262,4 +171,4 @@
}
],
"width": 230
}
}
45 changes: 1 addition & 44 deletions _data/charts/code_upload.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,49 +51,6 @@
"values": []
}
],
"data": [
{
"name": "code_uploads",
"values": [
{
"count": 58,
"name": "moose"
},
{
"count": 10,
"name": "mmsp"
},
{
"count": 9,
"name": "prisms"
},
{
"count": 8,
"name": "fenics"
},
{
"count": 8,
"name": "sfepy"
},
{
"count": 7,
"name": "fipy"
},
{
"count": 4,
"name": "custom"
},
{
"count": 3,
"name": "matlab"
},
{
"count": 1,
"name": "hiperc"
}
]
}
],
"height": 115,
"marks": [
{
Expand Down Expand Up @@ -214,4 +171,4 @@
}
],
"width": 230
}
}
94 changes: 0 additions & 94 deletions _data/data_table.py

This file was deleted.

Loading

0 comments on commit 3353d98

Please sign in to comment.