From 3137654629bbe3ff573b4a48527ba48b548b65fc Mon Sep 17 00:00:00 2001
From: Anusha Ranganathan <anusha@cottagelabs.com>
Date: Thu, 16 Jan 2025 19:27:19 +0100
Subject: [PATCH] Modified mapping for resource type

---
 hyrax/app/services/prepare_csv_from_crc_folder.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hyrax/app/services/prepare_csv_from_crc_folder.rb b/hyrax/app/services/prepare_csv_from_crc_folder.rb
index add3540b..0eda030e 100644
--- a/hyrax/app/services/prepare_csv_from_crc_folder.rb
+++ b/hyrax/app/services/prepare_csv_from_crc_folder.rb
@@ -345,7 +345,7 @@ class PrepareCsvFromCrcFolder
       file_attributes['DataCite-creatorNameIdentifierScheme'],
       file_attributes['DataCite-Subject'],
       'Dataset',
-      file_attributes['DublinCore-Type'],
+      file_attributes['Resource Type'],
       meta_info[:folder_name],
       experiment_description,
       meta_info[:crc_work_type],
-- 
GitLab