Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
mgeplf committed Oct 4, 2024
1 parent 51db41b commit 11da3be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/warning_handling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ std::string errorLink(const std::string& uri,
return "warning";
case ErrorLevel::ERROR:
return "error";
default:
throw std::runtime_error("Unknown ErrorLevel");
}
throw std::runtime_error("Unknown ErrorLevel");
};

auto COLOR = [](ErrorLevel el) {
Expand All @@ -30,8 +31,9 @@ std::string errorLink(const std::string& uri,
return "\033[1;33m";
case ErrorLevel::ERROR:
return "\033[1;31m";
default:
throw std::runtime_error("Unknown ErrorLevel");
}
throw std::runtime_error("Unknown ErrorLevel");
};

const std::string COLOR_END("\033[0m");
Expand Down
1 change: 0 additions & 1 deletion tests/test_1_swc.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ def test_axon_carrying_dendrite():
7 2 0 0 7 7 3
''')
Morphology(contents, "swc")
breakpoint() # XXX BREAKPOINT


def test_multi_type_section():
Expand Down

0 comments on commit 11da3be

Please sign in to comment.