Skip to content

Commit

Permalink
fixing an error with the default parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
fonsecareyna82 committed Jan 12, 2024
1 parent e3e83c2 commit 6de1933
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

import os
import emtable
import numpy

from pwem.objects import CTFModel
import pyworkflow.utils as pwutils
Expand Down Expand Up @@ -74,15 +75,15 @@ def _defineParams(self, form):
label='Maximum resolution (A)',
help='Defocus range for gridsearch.')

form.addParam('df_search_max', IntParam, default=4000,
form.addParam('df_search_max', IntParam, default=40000,
label='Maximum resolution (A)',
help='Defocus range for gridsearch.')

form.addParam('phase_shift_min', IntParam, default=0,
label='Min. search phase-shift (rad)',
help='Phase-shift range for gridsearch.')

form.addParam('phase_shift_max', IntParam, default=0,
form.addParam('phase_shift_max', FloatParam, default=numpy.pi,
label='Min. search phase-shift (rad)',
help='Phase-shift range for gridsearch.')

Expand Down

0 comments on commit 6de1933

Please sign in to comment.