Opened 10 years ago

Closed 10 years ago

#203 closed defect (fixed)

Problem with multiple datasets from single file

Reported by: ajj Owned by: krzywon
Priority: major Milestone: SasView 3.0.0
Component: SasView Keywords:
Cc: Work Package:

Description

If I load the latex_smeared.xml file from the test datasets, both datasets (one sans, one usans) load and can be plotted or sent to fitting.

However, only the first (SANS) can have a model assigned to it. When trying to assign a model to the USANS data set, the panel goes blank. I can switch to another panel and then back again and it *appears* to have assigned the model, but trying to fit raises an error that a model has not been assigned.

Furthermore, not dQl data is being read from the file and so I cannot apply the slit smearing without doing a custom slit smear. The "use dQ data" radio button is greyed out.

Tested on MacOS X 10.9 and Scientific Linux 6.0 (equivalent to RHEL 6) - both from latest trunk build on build servers.

Not sure if this is a data loader issue - have assigned Jeff in the first instance.

Change History (2)

comment:1 Changed 10 years ago by krzywon

The data loader and fit panels expect a dQw value for every dQl value, but the latex_smeared.xml file only gives the dQl values. The cansas reader does not ensure the length of the the dQw and dQl lists are the same so I will need to fix this.

comment:2 Changed 10 years ago by krzywon

  • Resolution set to fixed
  • Status changed from new to closed

The issue outlined above has been fixed with the latest commit [r6848]. I added a check to see if both dQl and dQw are loaded for each Idata element. If not, the value not present is set to zero.

Note: See TracTickets for help on using tickets.