Skip to content
Snippets Groups Projects
Commit 50365af6 authored by Benjamin Cumming's avatar Benjamin Cumming
Browse files

remove std::endl and relative paths for headers

parent c03c5f7c
No related branches found
No related tags found
No related merge requests found
......@@ -122,15 +122,15 @@ class cell_tree {
std::ofstream fid(fname);
fid << "graph cell {" << std::endl;
fid << "graph cell {" << '\n';
for(auto b : range(0,num_segments())) {
if(children(b).size()) {
for(auto c : children(b)) {
fid << " " << b << " -- " << c << ";" << std::endl;
fid << " " << b << " -- " << c << ";" << '\n';
}
}
}
fid << "}" << std::endl;
fid << "}" << std::endl; // flush at end of output?
}
index_type depth_from_leaf()
......
......@@ -5,7 +5,7 @@
#include "gtest.h"
#include "../src/swcio.hpp"
#include <swcio.hpp>
// SWC tests
void expect_cell_equals(const neuron::io::cell_record &expected,
......@@ -187,7 +187,7 @@ TEST(swc_parser, from_allen_db)
auto fname = "../data/example.swc";
std::ifstream fid(fname);
if(!fid.is_open()) {
std::cerr << "unable to open file " << fname << "... skipping test" << std::endl;
std::cerr << "unable to open file " << fname << "... skipping test\n";
return;
}
......
......@@ -5,7 +5,7 @@
#include "gtest.h"
#include "../src/cell_tree.hpp"
#include <cell_tree.hpp>
#include "json/src/json.hpp"
using json = nlohmann::json;
......
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