Changeset bf23693 in sasview


Ignore:
Timestamp:
Jul 19, 2016 11:57:56 AM (8 years ago)
Author:
lewis
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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
11794f2
Parents:
55bc56bc (diff), e19d29b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into file-converter

Files:
24 added
2 edited

Legend:

Unmodified
Added
Removed
  • sasview/sasview.py

    r1be5202 r77d92cd  
    8181#Always use private .matplotlib setup to avoid conflicts with other 
    8282#uses of matplotlib 
    83 #Have to check if .sasview exists first  
     83#Have to check if .sasview exists first 
    8484sasdir = os.path.join(os.path.expanduser("~"),'.sasview') 
    8585if not os.path.exists(sasdir): 
     
    119119        # Fitting perspective 
    120120        try: 
    121             import sas.sasgui.perspectives.fitting as module     
     121            import sas.sasgui.perspectives.fitting as module 
    122122            fitting_plug = module.Plugin() 
    123123            self.gui.add_perspective(fitting_plug) 
     
    145145            logging.error(traceback.format_exc()) 
    146146 
    147         #Calculator perspective    
     147        #Calculator perspective 
    148148        try: 
    149149            import sas.sasgui.perspectives.calculator as module 
     
    152152        except: 
    153153            logging.error("%s: could not find Calculator plug-in module"% \ 
     154                                                        APP_NAME) 
     155            logging.error(traceback.format_exc()) 
     156 
     157        # File converter tool 
     158        try: 
     159            import sas.sasgui.perspectives.file_converter as module 
     160            converter_plug = module.Plugin() 
     161            self.gui.add_perspective(converter_plug) 
     162        except: 
     163            logging.error("%s: could not find File Converter plug-in module"% \ 
    154164                                                        APP_NAME) 
    155165            logging.error(traceback.format_exc()) 
     
    191201if __name__ == "__main__": 
    192202    run() 
    193  
  • src/sas/sascalc/dataloader/readers/cansas_reader.py

    r0f1e140 r3a9801f  
    942942            written = written | self.write_node(pix, "z", item.pixel_size.z, 
    943943                                                {"unit": item.pixel_size_unit}) 
    944             written = written | self.write_node(det, "slit_length", 
    945                                                 item.slit_length, 
    946                                                 {"unit": item.slit_length_unit}) 
    947944            if written == True: 
    948945                self.append(pix, det) 
     946            self.write_node(det, "slit_length", item.slit_length, 
     947                {"unit": item.slit_length_unit}) 
     948 
    949949 
    950950    def _write_process_notes(self, datainfo, entry_node): 
Note: See TracChangeset for help on using the changeset viewer.