Skip to content

Commit

Permalink
adding check_and_preprocess_inputs() to ever load_inputs() call
Browse files Browse the repository at this point in the history
  • Loading branch information
ehariton committed Feb 26, 2024
1 parent d0c1f83 commit 98aa83d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aviary/docs/getting_started/onboarding_ext_subsystem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"\n",
"# Have checks for clashing user inputs\n",
"# Raise warnings or errors depending on how clashing the issues are\n",
"# prob.check_and_preprocess_inputs()\n",
"prob.check_and_preprocess_inputs()\n",
"\n",
"prob.add_pre_mission_systems()\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion aviary/interface/test/test_interface_bugs.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def test_post_mission_promotion(self):


# Preprocess inputs
# prob.check_and_preprocess_inputs()
prob.check_and_preprocess_inputs()

prob.add_pre_mission_systems()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def bench_test_solved_full_mission(self):

input_file = 'models/test_aircraft/aircraft_for_bench_GwGm_solved.csv'
prob.load_inputs(input_file, local_phase_info)
prob.check_and_preprocess_inputs()
prob.aviary_inputs.set_val(Mission.Design.RANGE, 2000.0, units="NM")


Expand Down

0 comments on commit 98aa83d

Please sign in to comment.