-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sidney Mau
committed
Dec 28, 2017
1 parent
80f625e
commit b6a9987
Showing
1 changed file
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Generate simple_dir from config.yaml | ||
echo "Sourcing config..." | ||
simple_dir=$(grep 'simple_dir' config.yaml | awk 'NF>1{print $NF}') | ||
eval simple_dir=$simple_dir | ||
|
||
# Run farm_simple.py | ||
echo "Farming simple..." | ||
farm_simple="$simple_dir/farm_simple.py" | ||
#python $farm_simple | ||
|
||
# wait... | ||
|
||
# Run make_list.py | ||
echo "Compiling candidate list..." | ||
make_list="$simple_dir/make_list.py" | ||
#python $make_list | ||
|
||
# Run farm_plots.py | ||
echo "Farming plots..." | ||
farm_plots="$simple_dir/farm_plots.py" | ||
#python $farm_plots | ||
|
||
# wait... | ||
|
||
# Tarball deliverable | ||
echo "Tarring..." | ||
save_dir=$(grep 'save_dir' config.yaml | awk 'NF>1{print $NF}') | ||
eval save_dir=$save_dir | ||
tar -czf simple_plots.tar.gz $save_dir |