Skip to content

Commit

Permalink
Update progress indicator option
Browse files Browse the repository at this point in the history
  • Loading branch information
dspinellis committed Sep 28, 2024
1 parent cdbc24f commit 708bd8e
Show file tree
Hide file tree
Showing 17 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/author-productivity/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include ../common/Makefile

# Populate database with a 0.02% sample of Crossref containers
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.id \
works.published_year \
Expand Down
2 changes: 1 addition & 1 deletion examples/authors-by-decade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ../common/Makefile

# Populate database with a 0.02% sample of Crossref containers
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--sample 'random.random() < 0.0002' \
--columns works.id \
Expand Down
2 changes: 1 addition & 1 deletion examples/cdindex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ include ../common/Makefile

# Populate database with required fields
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.id \
works.doi \
Expand Down
8 changes: 4 additions & 4 deletions examples/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,19 @@ $(DATACITE):
# "populate" to populate the database with required data

asjcs: populate
$(TIME) $(A3K) --debug progress populate "$(MAINDB).db" asjcs
$(TIME) $(A3K) --progress populate "$(MAINDB).db" asjcs
touch $@

doaj: populate
$(TIME) $(A3K) --debug progress populate "$(MAINDB).db" doaj $(DOAJ)
$(TIME) $(A3K) --progress populate "$(MAINDB).db" doaj $(DOAJ)
touch $@

link-works-asjcs: asjcs populate
$(TIME) $(A3K) process "$(MAINDB).db" link-works-asjcs
touch $@

rors: populate $(ROR)
$(TIME) $(A3K) --debug progress populate "$(MAINDB).db" ror $(ROR)
$(TIME) $(A3K) --progress populate "$(MAINDB).db" ror $(ROR)
touch $@

link-aa-base-ror: rors populate
Expand All @@ -69,7 +69,7 @@ link-aa-top-ror: rors populate

# Add journal names
journal-names:
$(TIME) $(A3K) --debug progress populate "$(MAINDB).db" journal-names $(JOURNAL_NAMES)
$(TIME) $(A3K) --progress populate "$(MAINDB).db" journal-names $(JOURNAL_NAMES)
touch $@

simple-rolap/Makefile:
Expand Down
2 changes: 1 addition & 1 deletion examples/covid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ../common/Makefile

# Populate database with COVID publications
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--row-selection "title like '%COVID%' OR abstract like '%COVID%'"
touch $@
Expand Down
2 changes: 1 addition & 1 deletion examples/cs_cdindex/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include ../common/Makefile

# Populate database with required fields
populate: $(CROSSREF_DIR) dblp.db
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--attach-databases 'dblp:dblp.db' \
--row-selection 'EXISTS (SELECT 1 FROM dblp.dois WHERE works.doi = dois.doi)'
Expand Down
2 changes: 1 addition & 1 deletion examples/graph/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ include ../common/Makefile

# Populate database with DOIs of works and their references
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.id \
works.doi \
Expand Down
2 changes: 1 addition & 1 deletion examples/impact-factor-2021/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ../common/Makefile

# Populate database with rows and columns needed to calculate IF
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.doi \
works.id \
Expand Down
2 changes: 1 addition & 1 deletion examples/journal-h5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ../common/Makefile
# Populate database with required details for past five years
populate: $(CROSSREF_DIR)
# Populate database with DOIs of works and their references
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.doi works.issn_print works.issn_electronic \
work_references.doi \
Expand Down
2 changes: 1 addition & 1 deletion examples/open-access/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include ../common/Makefile

# Populate database with DOIs of works and their references
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--row-selection 'works.issn_print is not null OR works.issn_electronic is not null' \
--columns works.id \
Expand Down
2 changes: 1 addition & 1 deletion examples/orcid/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ include ../common/Makefile

# Populate database with ORCID data
populate: $(ORCID_SUMMARIES)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" orcid "$(ORCID_SUMMARIES)"
touch $@
2 changes: 1 addition & 1 deletion examples/person-h5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ../common/Makefile
# Populate database with required details for past five years
populate: $(CROSSREF_DIR)
# Populate database with DOIs of works and their references
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.id \
works.doi \
Expand Down
2 changes: 1 addition & 1 deletion examples/sample/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ../common/Makefile

# Populate database with a 0.02% sample of Crossref containers
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--sample 'random.random() < 0.01'
touch $@
2 changes: 1 addition & 1 deletion examples/soft-eng-h5/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ include ../common/Makefile
# Populate database with required details for past five years
populate: $(CROSSREF_DIR)
# Populate database with DOIs of works and their references
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--row-selection-file se-5y.sql
touch $@
Expand Down
2 changes: 1 addition & 1 deletion examples/tawfik/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export DEPENDENCIES=populate ../cdindex/tables/cdindex
include ../common/Makefile

populate: $(CROSSREF_DIR) tawfik-works.db
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--attach-databases 'tw:tawfik-works.db' \
--columns works.id \
Expand Down
2 changes: 1 addition & 1 deletion examples/uspto/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ include ../common/Makefile

# Populate database with USPTO data
populate: $(USPTO_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" uspto "$(USPTO_DIR)"
touch $@
2 changes: 1 addition & 1 deletion examples/yearly-numpages/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include ../common/Makefile

# Populate database with works and their pages
populate: $(CROSSREF_DIR)
$(TIME) $(A3K) --debug progress \
$(TIME) $(A3K) --progress \
populate "$(MAINDB).db" crossref "$(CROSSREF_DIR)" \
--columns works.id \
works.published_year \
Expand Down

0 comments on commit 708bd8e

Please sign in to comment.