Opened 7 years ago

#1088 new defect

duplicate parameters in save project files when toggling fit

Reported by: pkienzle Owned by:
Priority: minor Milestone: SasView 4.3.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Here is a portion of the saved project file (with polydispersity enabled) showing that the parameter list is duplicated in each section that it appears.

Notice that radius.width is tagged as both fitted and not fitted, though the file was saved with fitted checked. An arbitrary number of these can be generated by toggling the "fit" button before saving.

<parameters>
	<parameter error_displayed="True" error_value="1.9763e-05" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="0" name="scale" selected_to_fit="True" unit="" value="0.008855"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="background" selected_to_fit="True" unit="1/cm" value="0.001"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="sld" selected_to_fit="False" unit="1e-6/Ang^2" value="1"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="sld_solvent" selected_to_fit="False" unit="1e-6/Ang^2" value="6"/>
	<parameter error_displayed="True" error_value="3.0197" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="0" name="radius" selected_to_fit="True" unit="Ang" value="2323.5"/>
	<parameter error_displayed="True" error_value="1.9763e-05" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="0" name="scale" selected_to_fit="True" unit="" value="0.008855"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="background" selected_to_fit="True" unit="1/cm" value="0.001"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="sld" selected_to_fit="False" unit="1e-6/Ang^2" value="1"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="-inf" name="sld_solvent" selected_to_fit="False" unit="1e-6/Ang^2" value="6"/>
	<parameter error_displayed="True" error_value="3.0197" maximum_displayed="True" maximum_value="inf" minimum_displayed="True" minimum_value="0" name="radius" selected_to_fit="True" unit="Ang" value="2323.5"/>
</parameters>
<str_parameters/>
<orientation_parameters/>
<dispersity_parameters/>
<fixed_param>
	<parameter error_displayed="None" error_value="None" maximum_displayed="None" maximum_value="None" minimum_displayed="None" minimum_value="None" name="radius.npts" selected_to_fit="None" unit="None" value="35"/>
	<parameter error_displayed="None" error_value="None" maximum_displayed="None" maximum_value="None" minimum_displayed="None" minimum_value="None" name="radius.nsigmas" selected_to_fit="None" unit="None" value="3"/>
	<parameter error_displayed="None" error_value="None" maximum_displayed="None" maximum_value="None" minimum_displayed="None" minimum_value="None" name="radius.npts" selected_to_fit="None" unit="None" value="35"/>
	<parameter error_displayed="None" error_value="None" maximum_displayed="None" maximum_value="None" minimum_displayed="None" minimum_value="None" name="radius.nsigmas" selected_to_fit="None" unit="None" value="3"/>
</fixed_param>
<fittable_param>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="" minimum_displayed="True" minimum_value="" name="radius.width" selected_to_fit="False" unit="" value="0"/>
	<parameter error_displayed="True" error_value="" maximum_displayed="True" maximum_value="" minimum_displayed="True" minimum_value="" name="radius.width" selected_to_fit="True" unit="" value="0"/>
</fittable_param>

Change History (0)

Note: See TracTickets for help on using tickets.