Skip to content

Commit

Permalink
added a couple log lines to reset_db
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed May 22, 2024
1 parent ce39d63 commit 93e1af0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/browse.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ class Names < Thor
the new data. Gets rid of duplicate deprecated names.
DESC
def reset_db
S.logger.info "Loading Names from Library of Congress"
AuthorityBrowse::Names.reset_db
S.logger.info "Finished loading Names"
end

desc "update", "updates names tables with counts from biblio"
Expand Down Expand Up @@ -108,8 +110,11 @@ class Subjects < Thor
Incorporates remediated subject headings
DESC
def reset_db
S.logger.info "Loading Subjects from Library of Congress"
AuthorityBrowse::Subjects.reset_db
S.logger.info "Loading remediated subjects"
AuthorityBrowse::Subjects.incorporate_remediated_subjects
S.logger.info "Finished Loading Subjects"
end

desc "update", "updates subjects tables with counts from biblio"
Expand Down

0 comments on commit 93e1af0

Please sign in to comment.