From 0cac19b0364293c2411e090becbeee92dfffe2a4 Mon Sep 17 00:00:00 2001 From: SophiaFrancis1 <112432333+SophiaFrancis1@users.noreply.github.com> Date: Tue, 27 Feb 2024 10:49:57 -0600 Subject: [PATCH] Update ingest_data.py Changes order of output CSV for ease of adding images. --- nulrdcscripts/ingest/ingest_data.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nulrdcscripts/ingest/ingest_data.py b/nulrdcscripts/ingest/ingest_data.py index e1db087..4910879 100644 --- a/nulrdcscripts/ingest/ingest_data.py +++ b/nulrdcscripts/ingest/ingest_data.py @@ -139,20 +139,20 @@ "role": "X", "label": "image", "file_builder": "_auxiliary_", - } + }, } # Contains header names used in the ingest sheet csv file. header_names = [ + "work_image", + "structure", + "role", "work_type", "work_accession_number", "file_accession_number", "filename", - "description", "label", - "role", - "work_image", - "structure", + "description", ] # Contains patterns to be identified in filenames and their corresponding meaning @@ -162,4 +162,4 @@ "part": "p(\d{2})", "region": "r(\d{2})", "capture": "c(\d{2})", -} \ No newline at end of file +}