Skip to content

Commit

Permalink
lowercase change
Browse files Browse the repository at this point in the history
  • Loading branch information
aditeyashukla authored and askprash committed Sep 13, 2024
1 parent 1c26931 commit 38a3a30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/IO/read_input.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ function read_input(k::String, dict::AbstractDict=data,
end

function get_default_input_file(input)
if input == 0 || input == "Regional Aircraft"
if input == 0 || lowercase(input) == "regional aircraft"
defaultfile = joinpath(TASOPT.__TASOPTroot__, "IO/default_regional.toml")
elseif input == 1 || input == "Narrow Body Aircraft"
elseif input == 1 || lowercase(input) == "narrow body aircraft"
defaultfile = joinpath(TASOPT.__TASOPTroot__, "IO/default_input.toml")
elseif input == 2 || input == "Wide Body Aircraft"
elseif input == 2 || lowercase(input) == "wide body aircraft"
defaultfile = joinpath(TASOPT.__TASOPTroot__, "IO/default_wide.toml")
else
println("\n")
Expand Down

0 comments on commit 38a3a30

Please sign in to comment.