Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arbor
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
arbor-sim
arbor
Commits
50365af6
Commit
50365af6
authored
9 years ago
by
Benjamin Cumming
Browse files
Options
Downloads
Patches
Plain Diff
remove std::endl and relative paths for headers
parent
c03c5f7c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/cell_tree.hpp
+3
-3
3 additions, 3 deletions
src/cell_tree.hpp
tests/test_swcio.cpp
+2
-2
2 additions, 2 deletions
tests/test_swcio.cpp
tests/test_tree.cpp
+1
-1
1 addition, 1 deletion
tests/test_tree.cpp
with
6 additions
and
6 deletions
src/cell_tree.hpp
+
3
−
3
View file @
50365af6
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
tests/test_swcio.cpp
+
2
−
2
View file @
50365af6
...
...
@@ -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
;
}
...
...
This diff is collapsed.
Click to expand it.
tests/test_tree.cpp
+
1
−
1
View file @
50365af6
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment