Changeset 3a38a8b in sasview for src


Ignore:
Timestamp:
Aug 9, 2016 2:47:44 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:
b7c21a7
Parents:
5451a78 (diff), 5213d22 (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

Location:
src/sas
Files:
14 added
3 edited

Legend:

Unmodified
Added
Removed
  • src/sas/sascalc/fit/pluginmodel.py

    r9e531f2 r5213d22  
    33 
    44class Model1DPlugin(BaseComponent): 
     5    is_multiplicity_model = False 
     6 
    57    ## Name of the model 
    68 
  • src/sas/sasgui/perspectives/fitting/basepage.py

    r6ed67db r5213d22  
    21462146                self.temp_multi_functional = True 
    21472147        elif form_factor != None: 
    2148             self.model = form_factor(self.multi_factor) 
     2148            if self.multi_factor is not None: 
     2149                self.model = form_factor(self.multi_factor) 
     2150            else: 
     2151                # old style plugin models do not accept a multiplicity argument 
     2152                self.model = form_factor() 
    21492153        else: 
    21502154            self.model = None 
  • src/sas/sascalc/dataloader/readers/cansas_reader.py

    r83b6408 rfcba29a  
    957957            written = written | self.write_node(pix, "z", item.pixel_size.z, 
    958958                                                {"unit": item.pixel_size_unit}) 
    959             written = written | self.write_node(det, "slit_length", 
    960                                                 item.slit_length, 
    961                                                 {"unit": item.slit_length_unit}) 
    962959            if written == True: 
    963960                self.append(pix, det) 
     961            self.write_node(det, "slit_length", item.slit_length, 
     962                {"unit": item.slit_length_unit}) 
     963 
    964964 
    965965    def _write_process_notes(self, datainfo, entry_node): 
Note: See TracChangeset for help on using the changeset viewer.