Skip to content

Commit

Permalink
Update ingest_data.py
Browse files Browse the repository at this point in the history
Changes order of output CSV for ease of adding images.
  • Loading branch information
SoFrans committed Feb 27, 2024
1 parent b1e67d6 commit 0cac19b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions nulrdcscripts/ingest/ingest_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -162,4 +162,4 @@
"part": "p(\d{2})",
"region": "r(\d{2})",
"capture": "c(\d{2})",
}
}

0 comments on commit 0cac19b

Please sign in to comment.