Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ctffind_runner better error message #1212

Merged
merged 2 commits into from
Nov 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/ctffind_runner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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"<<std::endl;
fh << "env LC_ALL=C " << fn_ctffind_exe << ctffind4_options << " > " << fn_log << " << EOF"<<std::endl;
// line 1: input image
if (do_movie_thon_rings)
{
Expand Down
Loading