Changeset d267aed in sasview


Ignore:
Timestamp:
Oct 4, 2010 10:41:45 AM (14 years ago)
Author:
Gervaise Alina <gervyh@…>
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:
1e7de38
Parents:
afeb37a
Message:

commit pylint score for sans.calculor under docs

Location:
calculator
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • calculator/slit_length_calculator.py

    rafeb37a rd267aed  
    6060                break 
    6161            y_sum = y_sum + y[ind] 
    62             if y[ind] > y_max: y_max = y[ind] 
     62            if y[ind] > y_max:  
     63                y_max = y[ind] 
    6364            ind += 1 
    6465      
     
    8990            x_half = (x_half_d + x_half_u)/2.0 
    9091        else: 
    91             x_half = (x_half_u * (y_half - y_half_d) + x_half_d*(y_half_u-y_half))\ 
     92            x_half = (x_half_u * (y_half - y_half_d)  \ 
     93                       + x_half_d*(y_half_u-y_half)) \ 
    9294                        /(y_half_u - y_half_d) 
    9395         
Note: See TracChangeset for help on using the changeset viewer.