Skip to content

Commit

Permalink
GMP: 1.EXP: MWL-ABDE: a minor bug fixed as to initiating correct stat…
Browse files Browse the repository at this point in the history
…e of 'buffer spectra required' when read from DB (prev. saved) for MWL-ABDE exp. ...
  • Loading branch information
alexsav815 committed Apr 19, 2024
1 parent 582a1e0 commit ed0c941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions programs/us_experiment/us_exp_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3019,7 +3019,9 @@ DbgLv(1) << "EGRn:inP: ii" << ii << "channel" << channel;
cc_lrads[ ii ]->setValue( locrads[ ii ] );
cc_hrads[ ii ]->setValue( hicrads[ ii ] );

//abde
cc_buff_sp_ck[ ii ]->setChecked( abde_buff[ ii ] );
qDebug() << "Ranges::abde_buffes for chann " << ii << " is -- " << abde_buff[ ii ];

cc_labls[ ii ]->setVisible( true );
cc_lrngs[ ii ]->setVisible( true );
Expand Down
2 changes: 1 addition & 1 deletion utils/us_run_protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ bool US_RunProtocol::RunProtoRanges::fromXml( QXmlStreamReader& xmli )
//abde: for backward compatibility:
if ( attr.hasAttribute ("abde_buffer") )
{
( attr.value( "replicate_group" ) .toString().toInt() ) ?
( attr.value( "abde_buffer" ) .toString().toInt() ) ?
rng.abde_buffer_spectrum = true : rng.abde_buffer_spectrum = false;
}
else
Expand Down

0 comments on commit ed0c941

Please sign in to comment.