Skip to content
Snippets Groups Projects
Commit d738ad9d authored by Dominik Brilhaus's avatar Dominik Brilhaus
Browse files

automate import

parent b9a5ee63
No related branches found
No related tags found
No related merge requests found
folder | fill | stroke | shape
-------|------|--------|------
runs | #C21F3A | #2D3E69 | ellipse
assays | #FFC000 | #2D3E68 | rectangle
studies | #B4CE82 | #2D3E50 | rectangle
workflows | #4FB3D9 | #2D3E57 | rhombus
```bash
find runs -mindepth 1 -maxdepth 1 -type d | awk '{print $1,"runs", "#C21F3A", "#2D3E69", "ellipse"}' | tr ' ' ',' > tmp.runs.columns.csv
find assays -mindepth 1 -maxdepth 1 -type d | awk '{print $1,"assays", "#C21F3A", "#2D3E69", "rectangle"}' | tr ' ' ',' > tmp.assays.columns.csv
find studies -mindepth 1 -maxdepth 1 -type d | awk '{print $1,"studies", "#B4CE82", "#2D3E50", "rectangle"}' | tr ' ' ',' > tmp.studies.columns.csv
find workflows -mindepth 1 -maxdepth 1 -type d | awk '{print $1,"workflows", "#4FB3D9", "#2D3E57", "rhombus"}' | tr ' ' ',' > tmp.workflows.columns.csv
cat tmp.*.columns.csv
awk 'BEGIN{printf "Sr No\tName\tSub\tMarks\n"} {print}' drawioimport.csv
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment