Skip to content

Commit

Permalink
Merge branch 'devel' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
albertmena authored Jan 9, 2025
2 parents ef24246 + f3c7105 commit 289bb9e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions xmipp3/protocols/protocol_subtract_projection.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ def _defineParams(cls, form):
allowsNull=True,
help='Specify a 3D mask for the region of the input volume that must be considered in the analysis.',
condition='maskOption==1')
form.addParam('ignoreCTF',
BooleanParam,
label="Ignore CTF",
default=False,
help='Do not consider CTF in the subtraction. Use if particles have been CTF corrected.')
form.addParam('resol',
FloatParam,
label="Maximum resolution (A)",
Expand Down Expand Up @@ -195,6 +200,9 @@ def subtractionStep(self):

if self.realSpaceProjection.get() == 1:
args += ' --realSpaceProjection'

if self.ignoreCTF.get():
args += ' --ignoreCTF'

self.runJob("xmipp_subtract_projection", args)

Expand Down Expand Up @@ -271,6 +279,10 @@ def boostingStep(self):

if self.nonNegative.get():
args += ' --nonNegative'

if self.ignoreCTF.get():
args += ' --ignoreCTF'

self.runJob("xmipp_subtract_projection", args)

# --------------------------- INFO functions --------------------------------------------
Expand Down
1 change: 0 additions & 1 deletion xmipp3/viewers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
from .viewer import XmippViewer
from .plotter import XmippPlotter

#from .viewer_angular_resolution_alignment import XmippProtAngResAlignViewer
from .viewer_apply_tilt_to_ctf import XmippApplyTiltToCTFViewer
from .viewer_cl2d import XmippCL2DViewer
from .viewer_ctf_consensus import XmippCTFConsensusViewer
Expand Down

0 comments on commit 289bb9e

Please sign in to comment.