Skip to content

Commit

Permalink
access user values AFTER update/validation
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Jan 5, 2024
1 parent 262506b commit 5ef6c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion casagui/apps/_interactiveclean.py
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ async def clean_handler( msg, self=self ):
#msg['value']['mask'] = self._mask_path
pass

iteration_limit = int(msg['value']['niter'])
err,errmsg = self._clean.update( dict( niter=msg['value']['niter'],
cycleniter=msg['value']['cycleniter'],
nmajor=msg['value']['nmajor'],
Expand All @@ -708,6 +707,7 @@ async def clean_handler( msg, self=self ):

if err: return dict( result='no-action', stopcode=1, iterdone=0, majordone=0, stopdesc=html_escape(errmsg) )

iteration_limit = int(msg['value']['niter'])
stopdesc, stopcode, majordone, majorleft, iterleft, self._convergence_data = await self._clean.__anext__( )

if len(self._convergence_data['chan']) == 0 and stopcode == 7 or stopcode == -1:
Expand Down

0 comments on commit 5ef6c93

Please sign in to comment.