Skip to content

Commit

Permalink
Extract: reset the CTF premultiplication flag when re-extracting
Browse files Browse the repository at this point in the history
  • Loading branch information
biochem-fan committed Feb 15, 2023
1 parent 1316409 commit db5f635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/preprocessing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,8 @@ void Preprocessing::joinAllStarFiles()

if (do_premultiply_ctf)
myOutObsModel->opticsMdt.setValue(EMDL_OPTIMISER_DATA_ARE_CTF_PREMULTIPLIED, true);
else // we have to explicitly set this to false so that this is not inherited from the input run_data.star.
myOutObsModel->opticsMdt.setValue(EMDL_OPTIMISER_DATA_ARE_CTF_PREMULTIPLIED, false);

int igroup;
myOutObsModel->opticsMdt.getValue(EMDL_IMAGE_OPTICS_GROUP, igroup);
Expand Down

0 comments on commit db5f635

Please sign in to comment.