diff --git a/src/ctffind_runner.cpp b/src/ctffind_runner.cpp index 9b7f1bc28..9f9c63f79 100644 --- a/src/ctffind_runner.cpp +++ b/src/ctffind_runner.cpp @@ -460,6 +460,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) { @@ -692,7 +694,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"<