Ignore:
Timestamp:
Nov 6, 2017 4:32:17 PM (4 years ago)
Author:
vondreele
Message:

male all default image pixel sizes [200.,200.] so ValidatedTxtCtrl? treats them as floats.
Fix crash when data is deleted from tree.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/imports/G2img_1TIF.py

    r3143 r3151  
    7474                self.SciPy = True
    7575                self.Comments = ['no metadata']
    76                 self.Data = {'wavelength': 0.1, 'pixelSize': [200, 200], 'distance': 100.0}
     76                self.Data = {'wavelength': 0.1, 'pixelSize': [200., 200.], 'distance': 100.0}
    7777                self.Data['size'] = list(self.Image.shape)
    7878                self.Data['center'] = [int(i/2) for i in self.Image.shape]
Note: See TracChangeset for help on using the changeset viewer.