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/slit_length_calculator.py

    r6bd3a8d1 rb6627d9  
    5757 
    5858        # sum 10 or more y values until getting max_y, 
    59         while (True): 
     59        while True: 
    6060            if ind >= 10 and y_max == max_y: 
    6161                break 
     
    7272        ind = 0.0 
    7373        # find indices where it crosses y = y_half. 
    74         while (True): 
     74        while True: 
    7575            # no need to check when ind == 0 
    7676            ind += 1 
Note: See TracChangeset for help on using the changeset viewer.