Skip to content

Commit

Permalink
Added and update shell scripts to do spew2synthia.
Browse files Browse the repository at this point in the history
  • Loading branch information
sahawut committed Apr 18, 2017
1 parent a3ed87a commit 7580e25
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
11 changes: 11 additions & 0 deletions run_all.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

module load python/3.5.1

echo "translating all countries except USA..."
python3 country.py

echo "translating USA ..."
./usa_all.sh

echo "DONE for all countries!"
15 changes: 9 additions & 6 deletions usa_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

module load python/3.5.1

python3 state.py || {
python3 county.py
} || {
./usa_from_states.sh >logs/usa.log 2>logs/usa.err
}
echo "translating all states of the USA..."
python3 state.py

echo DONE!
echo "translating all counties in all states of the USA..."
python3 county.py

echo "combinding all states of the USA into a country..."
./usa_from_states.sh >logs/usa.log 2>logs/usa.err

echo "DONE for USA!"

0 comments on commit 7580e25

Please sign in to comment.