Changeset 5c46f43 in sasview for sansmodels/src/python_wrapper


Ignore:
Timestamp:
Apr 18, 2012 11:10:13 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:
43e8326
Parents:
3bd7cec
Message:

Fixing code style problems

File:
1 edited

Legend:

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

    r79ba1fc r5c46f43  
    455455            # fixed list  details 
    456456            fixed_str = str(self.fixed) 
    457             fixed_str.replace(', ', '\n                      ') 
     457            fixed_str = fixed_str.replace(', ', '\n                      ') 
    458458            newline = self.replaceToken(newline, "[FIXED]",fixed_str) 
    459459             
     
    465465            ## parameters with orientation 
    466466            oriented_str = str(self.orientation_params) 
    467             oriented_str.replace(', ', '\n                                  ') 
     467            formatted_endl = '\n                                  ' 
     468            oriented_str = oriented_str.replace(', ', formatted_endl) 
    468469            newline = self.replaceToken(newline,  
    469470                               "[ORIENTATION_PARAMS]", oriented_str) 
Note: See TracChangeset for help on using the changeset viewer.