-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LIU-407: Update README.md and checkGraph.py
- Loading branch information
Showing
2 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# dlg_repo | ||
This is the playground repository for DALiuGE graphs and palettes. This repository is not meant to be used to keep operational graphs or palettes. | ||
# EAGLE Test epository | ||
This is the testing repository for DALiuGE graphs created with EAGLE. This repository is not meant to be used to keep operational graphs or palettes. | ||
|
||
Installing the repository using `pip` will install the `eagle_test_graphs/daliuge_tests` as the `daliuge_tests` module. These test files are kept up to date and act as the current state of supported graphs across DALiuGE and EAGLE. | ||
|
||
Accessing the graphs when installed may be done accordingly: | ||
|
||
``` | ||
# Get directory eagle_test_graphs/daliuge_tests/dropmake/logical_graphs | ||
import daliuge_tests.dropmake.logical_graphs as test_graphs | ||
# Make sure to use importlib over deprecated pkg_resources | ||
from importlib.resources import files | ||
directory = files(test_graphs) # Returns a pathlib.Path object | ||
for child in directory.iterdir(): | ||
# Perform operation on child. | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters