Skip to content

Commit

Permalink
process_area_strs after checking validity
Browse files Browse the repository at this point in the history
  • Loading branch information
adisidev committed Dec 18, 2024
1 parent ae2baf5 commit 64aed88
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cartogram_info/read_csv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,9 @@ void CartogramInfo::read_csv(const argparse::ArgumentParser &arguments)
{"inset_pos", inset_pos}};
}

process_area_strs(csv_data);

const std::string id_header = reader.get_col_names()[id_col];
update_id_header_info(id_header);
check_validity_of_csv_ids(csv_data, initial_id_order_);
process_area_strs(csv_data);
relocate_geodivs_based_on_inset_pos(csv_data);
}

0 comments on commit 64aed88

Please sign in to comment.