Skip to content

Commit

Permalink
read in name of air travel data file only if air travel is being incl…
Browse files Browse the repository at this point in the history
…uded
  • Loading branch information
debog committed Nov 1, 2024
1 parent 5101d6d commit 1ccd96d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ void ExaEpi::Utils::get_test_params ( TestParams& params, /*!< Test pa
pp.get("census_filename", params.census_filename);
pp.get("workerflow_filename", params.workerflow_filename);
pp.getarr("initial_case_type", params.initial_case_type,0,params.num_diseases);
pp.get("air_traffic_filename", params.air_traffic_filename);
pp.get("airports_filename", params.airports_filename);
if (params.air_travel_int > 0) {
pp.get("air_traffic_filename", params.air_traffic_filename);
pp.get("airports_filename", params.airports_filename);
}
if (params.num_diseases == 1) {
if (params.initial_case_type[0] == "file") {
if (pp.contains("case_filename")) {
Expand Down

0 comments on commit 1ccd96d

Please sign in to comment.