pulibrary / pdc-osti

2 stars 0 forks source link

Refactor: Simplify metadata retrieval for dc fields such as author and funding #20

Closed astrochun closed 1 year ago

astrochun commented 1 year ago

For DataSpace metadata with multiple inputs (author, funding), the list comprehensions are very long. We should switch to having a get_metadata function that does this with different dc input keys.