Skip to content

Commit

Permalink
fixed linting error in bee_client and added to docs about saving grap…
Browse files Browse the repository at this point in the history
…hmls to archie
  • Loading branch information
leahh committed Sep 30, 2024
1 parent 56181c8 commit 2d7707d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion beeflow/client/bee_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ def dag(wf_id: str = typer.Argument(..., callback=match_short_id),
bee_workdir = wf_utils.get_bee_workdir()
mount_dir = os.path.join(bee_workdir, 'gdb_mount')
graphmls_dir = mount_dir + '/graphmls'
typer.secho(f"Workflow has been archived. All new DAGs will look the same as the one in the archive directory.",
typer.secho("Workflow has been archived. All new DAGs will look the same as the one "
"in the archive directory.",
fg=typer.colors.MAGENTA)
else:
wf_dir = wf_utils.get_workflow_dir(wf_id)
Expand Down
4 changes: 3 additions & 1 deletion docs/sphinx/visualization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ DAGs are exported in PNG format to $OUTPUT_DIR/$WD_ID-dags by default. If the
``no-dag-dir`` flag is specified when the dag command is run, the DAG will be
exported to $OUTPUT_DIR. The dag command makes multiple versions of the DAGs. The
most recent version is $WF_ID.png and the others are $WD_ID_v1.png,
$WF_ID_v2.png ... where v1 is the oldest.
$WF_ID_v2.png ... where v1 is the oldest. The graphmls used to make the DAGs are saved
in the workflow archive and are saved with their version number. These graphmls can
be useful for debugging when there are errors creating the DAGs.

Example DAG
===========
Expand Down

0 comments on commit 2d7707d

Please sign in to comment.