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
d317102d
Commit
d317102d
authored
7 years ago
by
Ivan Kondov
Browse files
Options
Downloads
Patches
Plain Diff
again more changes
parent
7970e28f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/exercise5.rst
+8
-8
8 additions, 8 deletions
docs/exercise5.rst
with
8 additions
and
8 deletions
docs/exercise5.rst
+
8
−
8
View file @
d317102d
...
...
@@ -7,17 +7,17 @@ It is implemented as a python script
1. All parameters are loaded at the beginning from a JSON document
**parameters.json**.
2. The steps candidates_apply() and screen_candidates() are
appli
ed as long
2. The steps candidates_apply() and screen_candidates() are
repeat
ed as long
as the size of the canditate list is smaller than ``number_to_invite``.
The a
natomy of
a
Firetask
--------------------
-----
A
natomy of Firetask
s
--------------------
All firetasks are classes derived from the ``FiretaskBase`` class. Many built-in
Firetasks are available in the upstream FireWorks, such as the ``ScriptTask``,
``PyTask``, FileTransferTask. Additional firetasks can be written for
generic or
specific purposes.
``PyTask``, FileTransferTask. Additional firetasks can be written for
both
generic and
specific purposes.
The skeleton of a Firetask looks like this::
...
...
@@ -79,8 +79,8 @@ The resulting workflow, which is given in **dataloader.json**, must be successfu
running with no further modifications.
**Hint**: You can use the ``load()`` method from the ``json`` package to load
JSON documents as list or dictionaries and then return
the structure via
``FWAction`` (se
e example).
JSON documents as list or dictionaries and then return
a ``FWAction`` object
with ``update_spec`` and the structure (see abov
e example).
Problem 5.2: Conditional Repeater Task
...
...
@@ -95,4 +95,4 @@ to insert a workflow section (sub-workflow) dynamically::
workflow_obj = load_object(workflow_dict)
actions = ['detours': workflow_obj]
return FWAction(*actions)
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