diff --git a/src/ctffind_runner.cpp b/src/ctffind_runner.cpp index d3a34cf8..dce5af69 100644 --- a/src/ctffind_runner.cpp +++ b/src/ctffind_runner.cpp @@ -463,6 +463,8 @@ void CtffindRunner::joinCtffindResults() if (verb > 0 && imic % 60 == 0) progress_bar(imic); } + if (MDctf.isEmpty()) + REPORT_ERROR( (std::string) fn_ctffind_exe + " failed to estimate CTF parameters for any micrograph, exiting..."); if (is_tomo) { @@ -713,7 +715,7 @@ void CtffindRunner::executeCtffind4(long int imic) // Write script to run ctffind fh << "#!/usr/bin/env " << fn_shell << std::endl; - fh << fn_ctffind_exe << ctffind4_options << " > " << fn_log << " << EOF"< " << fn_log << " << EOF"<