sul-dlss / dlme-transform

Transforms raw DLME metadata to DLME intermediate representation
Apache License 2.0
0 stars 2 forks source link

Fix traject deprecation warnings #224

Closed jacobthill closed 4 years ago

jacobthill commented 5 years ago

When attempting to transform stanford data locally, a number of deprecation warnings related to traject appear.

To reproduce, run locally:


                -e SKIP_FETCH_DATA=true \
                -v $(pwd)/.:/opt/traject \
                -v $(pwd)/../dlme-traject:/opt/traject/config \
                -v $(pwd)/../dlme-metadata:/opt/traject/data \
                -v $(pwd)/output:/opt/traject/output \
                suldlss/dlme-transform:latest \
                stanford
aaron-collier commented 5 years ago

Note, these deprecations are coming from the normalize_language and normalize_script mods macros.

jacobthill commented 5 years ago

Okay, may we can hold off on this for now. I think we will not need those once https://github.com/sul-dlss/dlme-transform/issues/144 is complete. We may be able to delete them.

aaron-collier commented 4 years ago

the above is related to language codes (only in stanford_mods as far as I can tell), the only file without a language code at all is:

rz546pm0247.mods