Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
ec113bab
Commit
ec113bab
authored
Nov 14, 2017
by
Simon Spannagel
Browse files
RPC3 reader: fail if directory is not there
parent
77d76a61
Pipeline
#238494
failed with stages
in 1 minute and 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/algorithms/Timepix3EventLoader/Timepix3EventLoader.cpp
View file @
ec113bab
...
...
@@ -43,8 +43,7 @@ void Timepix3EventLoader::initialise() {
// Open the root directory
DIR
*
directory
=
opendir
(
m_inputDirectory
.
c_str
());
if
(
directory
==
NULL
)
{
LOG
(
ERROR
)
<<
"Directory "
<<
m_inputDirectory
<<
" does not exist"
;
return
;
throw
AlgorithmError
(
"Directory "
+
m_inputDirectory
+
" does not exist"
);
}
else
{
LOG
(
TRACE
)
<<
"Found directory "
<<
m_inputDirectory
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment