lib/term_bootstrapper.rb
# NOTE: This must be updated if you intend to pick up new fields from EolTerms
This must be updated if you intend to pick up new fields from EolTerms
This must be updated if you intend to pick up new fields from EolTerms
def delete_terms
    puts "Removing #{@uris_to_delete.size} terms..."
    @uris_to_delete.each do |uri|
      next if uri_has_relationships?(uri)
      TraitBank::Term.delete(uri)
    end
  end
def delete_terms puts "Removing #{@uris_to_delete.size} terms..." @uris_to_delete . each do | uri | next if uri_has_relationships? ( uri ) TraitBank :: Term . delete ( uri ) end end
NOTE: This must be updated if you intend to pick up new fields from EolTerms
NOTE : This must be updated if you intend to pick up new fields from EolTerms
# First you have to make sure they aren't related to anything. If they are, warn. But, otherwise, it should be safe to # delete them.