Changeset b6627d9 in sasview for src/sas/calculator/instrument.py


Ignore:
Timestamp:
Mar 4, 2015 1:02:23 PM (10 years ago)
Author:
Doucet, Mathieu <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
7cd87c2
Parents:
5a7d933
Message:

pylint fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/calculator/instrument.py

    r26500ec rb6627d9  
    8585        """ 
    8686        if len(size) == 0: 
    87             self.sample_size = 0.0 
    88         else: 
    89             self.sample_size = size 
     87            self.size = 0.0 
     88        else: 
     89            self.size = size 
    9090            validate(size[0]) 
    9191 
Note: See TracChangeset for help on using the changeset viewer.