Changeset f6c2555 in sasview for src/sas/sascalc


Ignore:
Timestamp:
Apr 9, 2017 3:35:47 AM (8 years ago)
Author:
Adam Washington <adam.washington@…>
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.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
e962d85
Parents:
1550ee0
Message:

Pass flake8 and pylint in sesans_reader.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/dataloader/readers/sesans_reader.py

    r1550ee0 rf6c2555  
    66    Jurrian Bakker 
    77""" 
    8 import logging 
    98import numpy as np 
    109import os 
     
    113112 
    114113            lam_unit = self._unit_fetch("Wavelength") 
    115             x, x_unit = self._unit_conversion(x, "A", self._unit_fetch("SpinEchoLength")) 
     114            x, x_unit = self._unit_conversion(x, "A", 
     115                                              self._unit_fetch( 
     116                                                  "SpinEchoLength")) 
    116117            dx, dx_unit = self._unit_conversion( 
    117118                dx, lam_unit, 
     
    163164        :param value: The magnitude of the measurement 
    164165        :param value_unit: a string containing the final desired unit 
    165         :param default_unit: a string containing the units of the original measurement 
     166        :param default_unit: string with the units of the original measurement 
    166167        :return: The magnitude of the measurement in the new units 
    167168        """ 
Note: See TracChangeset for help on using the changeset viewer.