690ab7c997ea068e266230e876293bd4f7e5de9a,libpyEM/qtgui/embrowser.py,EMSliceParamDialog,__init__,#EMSliceParamDialog#,3419

Before Change


		self.wspinmax=QtWidgets.QSpinBox()
		self.wspinmax.setRange(-1,nimg-1)
		self.wspinmax.setValue(-1)
		self.wspinmax.setToolTip("End (exclusive) of range of volumes to display, -1 for all")
		self.fol.addRow("Last Image //:",self.wspinmax)

		self.wspinstep=QtWidgets.QSpinBox()
		self.wspinstep.setRange(1,nimg/2)
		self.wspinstep.setValue(1)
		self.wspinstep.setToolTip("Step for range of volumes to display (partial display of file)")
		self.fol.addRow("Step:",self.wspinstep)

		self.wspinlayers=QtWidgets.QSpinBox()
		self.wspinlayers.setRange(0,256)
		self.wspinlayers.setValue(0)

After Change


		self.fol = QtWidgets.QFormLayout()
		self.vbl.addLayout(self.fol)

		if nimg>1:
			self.wspinmin=QtWidgets.QSpinBox()
			self.wspinmin.setRange(-1,nimg-1)
			self.wspinmin.setValue(-1)
			self.wspinmin.setToolTip("Start of range of volumes to display, -1 for all")
			self.fol.addRow("First Image //:",self.wspinmin)
			
			self.wspinmax=QtWidgets.QSpinBox()
			self.wspinmax.setRange(-1,nimg-1)
			self.wspinmax.setValue(-1)
			self.wspinmax.setToolTip("End (exclusive) of range of volumes to display, -1 for all")
			self.fol.addRow("Last Image //:",self.wspinmax)

			self.wspinstep=QtWidgets.QSpinBox()
			self.wspinstep.setRange(1,nimg/2)
			self.wspinstep.setValue(1)
			self.wspinstep.setToolTip("Step for range of volumes to display (partial display of file)")
			self.fol.addRow("Step:",self.wspinstep)

		self.wspinlayers=QtWidgets.QSpinBox()
		self.wspinlayers.setRange(-1,256)
		self.wspinlayers.setValue(-1)
		self.wspinlayers.setToolTip("Projection about center +- selected number of layers, eg- 0 -> central section only, -1 full projection")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: cryoem/eman2
Commit Name: 690ab7c997ea068e266230e876293bd4f7e5de9a
Time: 2021-02-06
Author: sludtke42@gmail.com
File Name: libpyEM/qtgui/embrowser.py
Class Name: EMSliceParamDialog
Method Name: __init__