Skip to content

Commit

Permalink
Don't remove hsgr after fixing #4214
Browse files Browse the repository at this point in the history
  • Loading branch information
oxidase committed Oct 12, 2017
1 parent 031ce72 commit 77ecfe5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion features/support/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ module.exports = function () {
processedCacheFile: this.processedCacheFile, environment: this.environment};
let queue = d3.queue(1);
queue.defer(this.extractData.bind(this), p);
queue.defer(this.partitionData.bind(this), p);
queue.defer(this.contractData.bind(this), p);
queue.defer(this.partitionData.bind(this), p);
queue.defer(this.customizeData.bind(this), p);
queue.awaitAll(callback);
};
Expand Down
6 changes: 0 additions & 6 deletions src/partition/partitioner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,12 +199,6 @@ int Partitioner::Run(const PartitionConfig &config)
renumber(node_data, permutation);
extractor::files::writeNodeData(config.GetPath(".osrm.ebg_nodes"), node_data);
}
if (boost::filesystem::exists(config.GetPath(".osrm.hsgr")))
{
util::Log(logWARNING) << "Found existing .osrm.hsgr file, removing. You need to re-run "
"osrm-contract after osrm-partition.";
boost::filesystem::remove(config.GetPath(".osrm.hsgr"));
}
TIMER_STOP(renumber);
util::Log() << "Renumbered data in " << TIMER_SEC(renumber) << " seconds";

Expand Down

0 comments on commit 77ecfe5

Please sign in to comment.