Project

General

Profile

Actions

Feature #2836

open

bake appion processing recipes

Added by Gabriel Lander about 10 years ago. Updated over 8 years ago.

Status:
Assigned
Priority:
High
Assignee:
Category:
Web interface
Target version:
-
Start date:
07/14/2014
Due date:
% Done:

0%

Estimated time:

Description

Add function to save a stack or aligned stack as a recipe, enabling the same processing steps to be run for future experiments.


Related issues 2 (2 open0 closed)

Related to Appion - Bug #2939: Appion Developers Conference Call NotesNew09/24/2014

Actions
Blocked by Appion - Feature #3891: Distributed Resource Management Application APIAssignedDonny Shrum01/20/2016

Actions
Actions #1

Updated by Gabriel Lander about 10 years ago

First step toward saving recipes. Stacks and aligned stacks can be saved and removed from the database, the recipes show up on the main page if they exist.
TO DO: update database schema:
myami/myamiweb/xml/appion_extra.xml
myami/dbschema/schema-new.py
myami/dbschema/updatelib.py

Have to figure out how this will be launched & executed

Actions #2

Updated by Clint Potter about 10 years ago

8/27 Appion conference call. Need to generate parent command that works on multiprocessors. Need to know how many processors to ask for. Currently not tracking number of processors. Try with defaults for now. New table stores recipes.

Actions #3

Updated by Amber Herold about 10 years ago

Gabe,
The runJob.py command is being saved to a file in the run directory. You may be able to parse this file to find the number of nodes and processors requested in many cases, assuming the run directory still exists. Of course it would be better to have this info in the DB. Perhaps as another column in the existing run data table.

Actions #4

Updated by Neil Voss almost 10 years ago

  • Related to Bug #2939: Appion Developers Conference Call Notes added
Actions #5

Updated by Clint Potter almost 10 years ago

Discussed during Appion conference call. Gabe added a button to start. Gabe doesn't have much time.

Actions #6

Updated by Neil Voss over 8 years ago

  • Assignee changed from Gabriel Lander to Neil Voss

I am going to take a look at this. Has anything been started on it. I assume it will be using the Script tables in the Appion database to generate commands or is it solely based on the runJob log files? I will have to look at new tables for this purpose.

The main problem I do not know the answer to... is how do we launch a new command after the first one completes. Pick particles then make stack (1). I could have the user click through the steps as they complete to start, but then it is not automated. (2) Or I could put multiple commands into the same job script, but different commands have different resource needs. Perhaps the new job submission setup can allow for delayed jobs or something. Any thoughts would be appreciated.

Actions #7

Updated by Gabriel Lander over 8 years ago

I spent a lot of time trying to figure what to do on this front. I think my plan was to generate all the necessary individual scripts, then have a master script that launched them. The master script would wait for them to complete before launching subsequent ones. Using this approach, the master script could simultaneously launch particle picking & CTF estimation, but wait for them both to finish before starting stack creation.

Actions #8

Updated by Bridget Carragher over 8 years ago

Could we add a trigger (either as a file that appears) or a database entry so that the next up scripts can query for completion and then start once they get the go ahead. They could query on a longish time scale....

Actions #9

Updated by Neil Voss over 8 years ago

  • Priority changed from Normal to High
Actions #10

Updated by Neil Voss over 8 years ago

  • Blocked by Feature #3891: Distributed Resource Management Application API added
Actions

Also available in: Atom PDF