leginon-org / leginon-redmine-archive

1 stars 0 forks source link

DoG Picking test mode #2911

Open leginonbot opened 8 months ago

leginonbot commented 8 months ago

Author Name: Emily Greene (Emily Greene) Original Redmine Issue: 2911, https://emg.nysbc.org/redmine/issues/2911 Original Date: 2014-08-21 Original Assignee: Anchi Cheng


When trying to test out DoG picker settings, it sometimes requires refreshing the webpage 10-12 times (or it just doesn't work), but every once in a while it works the first time. It is at this point faster to just start a particle picking run and see the results for the first few micrographs. Attached is an image of the error message.

(I tried to look if this was a previous issue, but I'm not that good with Redmine, so let me know if this is part of a different thread or if I need more information)

leginonbot commented 8 months ago

Original Redmine Comment Author Name: Sargis Dallakyan (@dallakyan) Original Date: 2014-08-28T14:10:14Z


Commited r18541 to fix this bug. Instead of running test jobs on the head node, now they are submitted to cluster nodes through runJob.py. Also, r18542 changed runDogPicker.php so that test jobs results are commited to database by default.

leginonbot commented 8 months ago

Original Redmine Comment Author Name: Amber Herold (Amber Herold) Original Date: 2014-08-29T02:20:13Z


Sargis, It sounds like now test runs will behave just like a regular run, except that only one image is processed. So each test is stored under a new run name and appears in the pipeline as a completed run. The user will need to click on the appropriate run in the completed runs page to view the result. Correct?

leginonbot commented 8 months ago

Original Redmine Comment Author Name: Anchi Cheng (@anchi2c) Original Date: 2015-12-18T03:48:51Z


r18542 was reverted by r19368 because of issue #3765

The root of this problem is that refreshing the page, which keeps all $_POST, causes the job to be resubmitted or rerun whether it is on the head node or through qsub. Keeping all $_POST except the call to submit can only be achieved if $_POST['process'] is overwritten through a different input value activated by CLICKING another button, such as "Just Show Command" or something else we dedicate for the purpose.

Open Issue #3765 to make a button called "Refresh Test Results".