Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
fede-pe committed Nov 10, 2023
1 parent 6f3f7d8 commit 06bc920
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xmipptomo/tests/test_protocol_deep_misalignment_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,14 @@ def _runPHC(cls, inputSoT, fiducialSize, boxSize, relaxedModeBool, relaxedModeTh
return cls.protPHC

@classmethod
def _runDeepMisaliDetection(cls, inputSoC, tomoSource, inputSetOfT, misaliThrBool, misaliThr, modelPick,
def _runDeepMisaliDetection(cls, inputSoC, tomoSource, inputSetOfT, misaliThrBool, misaliThr,
misalignmentCriteria):
cls.protDMD = cls.newProtocol(XmippProtDeepDetectMisalignment,
inputSetOfCoordinates=inputSoC,
tomoSource=tomoSource,
inputSetOfTomograms=inputSetOfT,
misaliThrBool=misaliThrBool,
misaliThr=misaliThr,
modelPick=modelPick,
misalignmentCriteria=misalignmentCriteria)

cls.launchProtocol(cls.protDMD)
Expand Down Expand Up @@ -123,15 +122,13 @@ def setUpClass(cls):
cls.tomoSource = 0
cls.misaliThrBool = 1
cls.misaliThr = 0.45
cls.modelPick = 0
cls.misalignmentCriteria = 0

cls.protDMD = cls._runDeepMisaliDetection(inputSoC=cls.protPHC.outputSetOfCoordinates3D,
tomoSource=cls.tomoSource,
inputSetOfT=None,
misaliThrBool=cls.misaliThrBool,
misaliThr=cls.misaliThr,
modelPick=cls.modelPick,
misalignmentCriteria=cls.misalignmentCriteria)


Expand Down

0 comments on commit 06bc920

Please sign in to comment.