scipion-em / scipion-em-relion

Plugin to use Relion SPA programs within the Scipion framework
GNU General Public License v3.0
3 stars 0 forks source link

relion crashes if NO alignment and 'consider alignment as priors' a… #283

Closed rmarabini closed 3 years ago

rmarabini commented 3 years ago

…re selected

relion crashes if NO alignment and 'consider alignment as priors' are selected. So add and extra check to validate in order to avoid this problem

              if self.alignmentAsPriors:
                    errors.append('When only doing classification (no alignment) '
                                  " option 'consider alignment as priors' cannot"
                                  " be enabled.")
azazellochg commented 3 years ago

thank you, @rmarabini , I'll put a condition into form param.