Changeset 7343319 in sasview for sansmodels/src/python_wrapper


Ignore:
Timestamp:
Apr 18, 2012 11:38:52 AM (13 years ago)
Author:
Mathieu Doucet <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:
31f9d0c2
Parents:
43e8326
Message:

Fixing code style problems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/python_wrapper/WrapperGenerator.py

    r5c46f43 r7343319  
    459459             
    460460            # non-fittable list details 
     461            pars_str = str(self.non_fittable) 
     462            pars_str = pars_str.replace(', ', '\n                             ') 
    461463            newline = self.replaceToken(newline,  
    462464                                        "[NON_FITTABLE_PARAMS]", 
    463                                         str(self.non_fittable)) 
     465                                        pars_str) 
    464466             
    465467            ## parameters with orientation 
    466468            oriented_str = str(self.orientation_params) 
    467             formatted_endl = '\n                                  ' 
     469            formatted_endl = '\n                                   ' 
    468470            oriented_str = oriented_str.replace(', ', formatted_endl) 
    469471            newline = self.replaceToken(newline,  
Note: See TracChangeset for help on using the changeset viewer.