Skip to content
This repository has been archived by the owner on Dec 18, 2019. It is now read-only.

Commit

Permalink
Merge branch 'release-v33.1.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark A. Matienzo committed Oct 1, 2014
2 parents 929bd7e + 21345df commit 329e6ba
Show file tree
Hide file tree
Showing 12 changed files with 1,532 additions and 14 deletions.
2 changes: 2 additions & 0 deletions akara.conf.template
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ MODULES = [
"dplaingestion.mappers.bpl_mapper",
"dplaingestion.mappers.mwdl_mapper",
"dplaingestion.mappers.getty_mapper",
"dplaingestion.mappers.primo_mapper",
"dplaingestion.mappers.missouri_mapper",
"dplaingestion.akamod.enrich",
"dplaingestion.akamod.enrich-subject",
"dplaingestion.akamod.enrich-type",
Expand Down
5 changes: 5 additions & 0 deletions lib/create_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ def _create_dublin_core_mapper(data):
from dplaingestion.mappers.dublin_core_mapper import DublinCoreMapper
return DublinCoreMapper(data)

def _create_missouri_mapper(data):
from dplaingestion.mappers.missouri_mapper import MissouriMapper
return MissouriMapper(data)

mappers = {
'ia': lambda d: _create_ia_mapper(d),
'bpl': lambda d: _create_bpl_mapper(d),
Expand All @@ -100,6 +104,7 @@ def _create_dublin_core_mapper(data):
'digitalnc': lambda d: _create_digitalnc_mapper(d),
'uiuc_marc': lambda d: _create_uiuc_marc_mapper(d),
'dublin_core': lambda d: _create_dublin_core_mapper(d),
'missouri': lambda d: _create_missouri_mapper(d)
}

return mappers.get(mapper_type)(data)
Loading

0 comments on commit 329e6ba

Please sign in to comment.