-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathrun_pipeline.sh
29 lines (28 loc) · 1 KB
/
run_pipeline.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
echo "Fetching users..."
cd methods/github_search
pip -q install -r requirements.txt
python github_search.py --topic utrecht-university --search "utrecht university"
echo "Github search method finished."
cd ../papers_with_code
pip -q install -r requirements.txt
python papers_with_code.py --query utrecht+university
echo "PapersWithCode search method finished."
cd ../pure
pip -q install -r requirements.txt
python pure.py data/Pure_290421.ris
echo "PURE search method finished."
cd ../profile_pages
pip -q install -r requirements.txt
echo "Starting UU API search method. This will take a while."
python uu_api_crawler.py
echo "UU API search method finished."
echo "Merging users..."
cd ../../
pip -q install -r requirements.txt
python scripts/merge_users.py --files methods/*/results/*.csv --output results/users_merged.csv
echo "Enriching users..."
python scripts/enrich_users.py --input results/users_merged.csv
echo "Preparing user filtering..."
python scripts/prepare_filtering.py
echo "Pipeline run succeeded."