Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
grk2450-fireworks-tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ivan Kondov
grk2450-fireworks-tutorial
Commits
0dfe3951
Commit
0dfe3951
authored
7 years ago
by
Ivan Kondov
Browse files
Options
Downloads
Patches
Plain Diff
added exercise4.rst
parent
20efacd9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/exercise4.rst
+33
-0
33 additions, 0 deletions
docs/exercise4.rst
with
33 additions
and
0 deletions
docs/exercise4.rst
0 → 100644
+
33
−
0
View file @
0dfe3951
Exercise 4: Extending a workflow
================================
Workflows in FireWorks can be extended at any time of their life cycle,
particularly in states *READY*, *RUNNING* and *COMPLETED*. If the appended
firework or workflow is appended as a detour then the child fireworks may not be
be *RUNNING* or *COMPLETED*.
Problem 4.1
-----------
Using the extend the workflow from the solution of **Problem 3.1**
(**image_reconstruct.json**) with the workflow from **Problem 3.2**
(**image_swirl.json**) to reuse the image produced by the former as input in the
latter workflow. For this, first copy the workflow **image_swirl.json** from
**exercises/solutions/3_files_and_commands** and modify it so that the input
``original image`` in all fireworks is passed from a parent firework::
"original image": {
"source": "montaged image"
},
Also make all firework IDs negative integers (required by the appendoing method).
Then identify the firework ID of the firework providing the final image as output::
lpad get_wflows -n "Image reconstruction" -d more
Finally, use the command::
lpad append_wflow -i <ID> image_swirl.json
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment