Skip to content

Commit

Permalink
cl updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilax committed Oct 27, 2023
1 parent 714f998 commit 44e29e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions xmipptomo/protocols/protocol_cltomo.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,12 @@
from pyworkflow.protocol import (IntParam, PointerParam, LEVEL_ADVANCED, BooleanParam, StringParam, FloatParam)
from pyworkflow.utils import Environ
from xmipp3 import Plugin
from pwem.protocols import EMProtocol
from tomo.protocols import ProtTomoBase
from xmipp3.convert import readSetOfVolumes, readSetOfClassesVol, writeSetOfVolumes


class XmippProtCLTomo(ProtClassify3D):
class XmippProtCLTomo(EMProtocol, ProtTomoBase):
""" Averages a set of subtomograms taking into account the missing edge. """

_label = 'cltomo'
Expand Down Expand Up @@ -134,7 +136,7 @@ def createOutput(self):
if levelFiles:
levelFiles.sort()
lastLevelFile = levelFiles[-1]
setOfClasses = self._createSetOfClassesVol()
setOfClasses = self._createSetOfClassesSubTomograms(self.inputVolumes.get())
setOfClasses.setImages(self.inputVolumes.get())
readSetOfClassesVol(setOfClasses, lastLevelFile)
self._defineOutputs(outputClasses=setOfClasses)
Expand Down

0 comments on commit 44e29e1

Please sign in to comment.