Skip to content

Commit

Permalink
remove input variables from input files that are equal to their defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
yardasol committed Dec 8, 2022
1 parent 544f35e commit 434ac51
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 34 deletions.
7 changes: 1 addition & 6 deletions examples/msbr/msbr_main.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"proc_input_file": "msbr_objects.json",
"dot_input_file": "msbr.dot",
"output_path": "data",
"n_depletion_steps": 12,
"depcode": {
"codename": "serpent",
"exec_path": "sss2",
"template_input_file_path": "msbr.serpent",
"geo_file_paths": ["geometry/msbr_full.ini"]
},
"simulation": {
"sim_name": "msbr_example_simulation",
"db_name": "msbr_kl_100_saltproc.h5",
"restart_flag": false,
"adjust_geo": false
"sim_name": "msbr_kl_100_simulation"
},
"reactor": {
"volume": 1.0,
Expand Down
6 changes: 1 addition & 5 deletions examples/tap/tap_main.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"proc_input_file": "tap_objects.json",
"dot_input_file": "tap.dot",
"output_path": "data",
"n_depletion_steps": 3,
"depcode": {
"codename": "serpent",
"exec_path": "sss2",
"template_input_file_path": "tap.serpent",
"geo_file_paths": [
"geometry/347_base.ini",
Expand All @@ -26,9 +24,7 @@
]
},
"simulation": {
"sim_name": "test_simulation",
"db_name": "db_saltproc.h5",
"restart_flag": false,
"sim_name": "tap_example_simulation",
"adjust_geo": true
},
"reactor": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"proc_input_file": "tap_processes.json",
"dot_input_file": "../../tap_paths.dot",
"output_path": ".",
"n_depletion_steps": 2,
"depcode": {
"codename": "serpent",
"exec_path": "sss2",
"template_input_file_path": "tap_template.ini",
"geo_file_paths": ["tap_geometry_base.ini"]
},
"simulation": {
"sim_name": "tap_integration_test",
"db_name": "test_db.h5",
"restart_flag": false,
"adjust_geo": false
"sim_name": "tap_constant_reprocessing"
},
"reactor": {
"volume": 1.0,
Expand Down
8 changes: 2 additions & 6 deletions tests/integration_tests/run_no_reprocessing/test_input.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
{
"proc_input_file": "processes.json",
"dot_input_file": "paths.dot",
"output_path": ".",
"n_depletion_steps": 2,
"depcode": {
"codename": "serpent",
"exec_path": "sss2",
"template_input_file_path": "test_input.ini",
"geo_file_paths": ["../../serpent_data/tap_geometry_base.ini"]
},
"simulation": {
"sim_name": "Integration test",
"db_name": "_test_db.h5",
"restart_flag": true,
"adjust_geo": false
"sim_name": "test_no_reprocessing",
"restart_flag": true
},
"reactor": {
"volume": 1.0,
Expand Down
6 changes: 1 addition & 5 deletions tests/openmc_data/tap_input.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"proc_input_file": "../tap_processes.json",
"dot_input_file": "../tap_paths.dot",
"output_path": "../temp_data",
"n_depletion_steps": 2,
"depcode": {
"codename": "openmc",
Expand All @@ -13,10 +12,7 @@
"chain_file_path": "test_chain.xml"
},
"simulation": {
"sim_name": "tap_test_simulation_openmc",
"db_name": "db_saltproc.h5",
"restart_flag": false,
"adjust_geo": false
"sim_name": "tap_test_simulation_openmc"
},
"reactor": {
"volume": 1.0,
Expand Down
7 changes: 1 addition & 6 deletions tests/serpent_data/tap_input.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,14 @@
{
"proc_input_file": "../tap_processes.json",
"dot_input_file": "../tap_paths.dot",
"output_path": "../temp_data",
"n_depletion_steps": 2,
"depcode": {
"codename": "serpent",
"exec_path": "sss2",
"template_input_file_path": "tap_template.ini",
"geo_file_paths": ["tap_geometry_base.ini"]
},
"simulation": {
"sim_name": "tap_test_simulation_serpent",
"db_name": "db_saltproc.h5",
"restart_flag": false,
"adjust_geo": false
"sim_name": "tap_test_simulation_serpent"
},
"reactor": {
"volume": 1.0,
Expand Down

0 comments on commit 434ac51

Please sign in to comment.