Commit 0e1f18af authored by Thomas Purcell's avatar Thomas Purcell
Browse files

BugFix: Actually remove stripped_fn.json file

Bug prevented this
parent 91ddd24c
......@@ -286,7 +286,6 @@ InputParser::InputParser(std::string fn) :
if(_mpi_comm->rank() == 0)
{
std::vector<std::string> filepath = str_utils::split_string_trim(fn, "/");
std::string(fn);
if(filepath.size() > 1)
{
fn = str_utils::join("/", filepath.data(), filepath.size() - 1) + "/stripped_" + filepath.back();
......
......@@ -42,10 +42,8 @@ int main(int argc, char const *argv[])
filename = argv[1];
}
boost::property_tree::ptree prop_tree = get_prop_tree(filename, mpi_setup::comm);
double start = omp_get_wtime();
InputParser inputs(prop_tree, filename, mpi_setup::comm);
InputParser inputs(filename);
mpi_setup::comm->barrier();
duration = omp_get_wtime() - start;
if(mpi_setup::comm->rank() == 0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment