Skip to content

Commit

Permalink
tidy and adds AAEL RESRV grouping
Browse files Browse the repository at this point in the history
  • Loading branch information
niquerio committed Feb 24, 2025
1 parent 819446e commit efb7740
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions umich_catalog_indexing/lib/umich_traject/location_map.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ def self.location_map
m.echo = :onmiss

m[/^AAEL ST[NOF]{1,2}/] = "AAEL CLOSD"
m[/^AAEL RES[CIP].*/] = "AAEL RESRV"

m[/^SPEC SC[HB]-RARE.*/] = "SPEC RARE"
m[/^SPEC SCB-SCI/] = "SPEC RARE"
Expand All @@ -22,21 +23,21 @@ def self.location_map
m[/^SPEC SC[HB]-WOR/] = "SPEC WOR" # need to fix this later
m[/^SPEC SCB-THC.*/] = "SPEC THC" # need to fix this later

m[/^HATCH AMIC/] = "HATCH ASIA"
m[/^HATCH AOFF/] = "HATCH ASIA"
m[/^HATCH AOFFNC/] = "HATCH ASIA"
m[/^HATCH AOKA/] = "HATCH ASIA"
m[/^HATCH AREF/] = "HATCH ASIA"
m[/^HATCH AOVR/] = "HATCH ASIA"
m[/^HATCH AOFF/] = "HATCH ASIA"
m[/^HATCH AMIC/] = "HATCH ASIA"
m[/^HATCH AREF/] = "HATCH ASIA"
m[/^HATCH ASPEC/] = "HATCH ASIA"

m[/^HATCH CLARK/] = "HATCH CLARKBKS"
m[/^HATCH CLBKS/] = "HATCH CLARKBKS"
m[/^HATCH CLBKS-CIRC/] = "HATCH CLARKBKS"
m[/^HATCH CLARK/] = "HATCH CLARKBKS"

m[/^HATCH GRNT/] = "HATCH REF"
m[/^HATCH GLRF/] = "HATCH REF"
m[/^HATCH GDESK/] = "HATCH REF"
m[/^HATCH GLRF/] = "HATCH REF"
m[/^HATCH GRNT/] = "HATCH REF"

m[/^MiU-H/] = "BENT"
m[/^MiU-C/] = "CLEM"
Expand All @@ -49,9 +50,9 @@ def self.location_map
m[/^FLINT SPEC/] = "FLINT ARCH"

# Reference Collection
m[/^FLINT ABST/] = "FLINT REF"
m[/^FLINT REFD/] = "FLINT REF"
m[/^FLINT TECH/] = "FLINT REF"
m[/^FLINT ABST/] = "FLINT REF"

# Microforms
m[/^FLINT MCARD/] = "FLINT MICRO"
Expand Down

0 comments on commit efb7740

Please sign in to comment.