Skip to content

Commit

Permalink
repair relion_align_symmetry for C10,C11...C19 symmetry
Browse files Browse the repository at this point in the history
  • Loading branch information
huwjenkins committed Jan 25, 2023
1 parent 5088ae4 commit 0c110f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/align_symmetry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class align_symmetry
{

// When providing a model.star file, in C1 one cannot select class based on best diff2
if (fn_in.contains("model.star") && (fn_sym.contains("C1") || fn_sym.contains("c1")))
if (fn_in.contains("model.star") && (fn_sym == "C1" || fn_sym == "c1"))
{
if (!(do_select_resol ||do_select_size ))
REPORT_ERROR("ERROR: In symmetry C1, one has to select based on class size or resolution!");
Expand Down Expand Up @@ -192,7 +192,7 @@ class align_symmetry
vol_in.read(fn_ins[imap]);


if ( fn_sym.contains("C1") || fn_sym.contains("c1") )
if ( fn_sym == "C1" || fn_sym == "c1" )
{
// Just write out the selected map again
vol_in.write(fn_out);
Expand Down

0 comments on commit 0c110f6

Please sign in to comment.