Commit 5211c0dc authored by Nene Barry's avatar Nene Barry
Browse files

update datadeclarations fields

parent d3ab4195
......@@ -262,13 +262,13 @@ class DishXlsExporter:
if sheet[45, 1] and ('not' in sheet[45, 1]):
if sheet[44, 1] and ('no' in sheet[44, 1]):
datadec_dict["access_category"] = "open-access" #this is just an initial interpretation and should be further curated in catalog
datadec_dict["access_category"] = "open_access" #this is just an initial interpretation and should be further curated in catalog
datadec_dict["access_procedure"] = datadec_dict["access_procedure"] + "No additional form is needed to request access."
else:
datadec_dict["access_category"] = "registered-access" #this is just an initial interpretation and should be further curated in catalog
datadec_dict["access_category"] = "registered_access" #this is just an initial interpretation and should be further curated in catalog
datadec_dict["access_procedure"] = datadec_dict["access_procedure"] + "Additional form is needed to request access."
else:
datadec_dict["access_category"] = "controlled-access"
datadec_dict["access_category"] = "controlled_access"
datadec_dict["access_procedure"] = datadec_dict["access_procedure"] + sheet[46, 1]
......@@ -354,9 +354,9 @@ class DishXlsExporter:
def process_deidentification(self, deid_str):
if 'seu' in deid_str:
return 'pseudonymized'
return 'pseudonymization'
elif 'non' in deid_str:
return 'anonymized'
return 'anonymization'
def process_consent_status(self, consent_str):
if 'et' in consent_str:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment