Mercurial > repos > greg > validate_affy_metadata
diff validate_affy_metadata.py @ 12:977280cfef63 draft
Uploaded
author | greg |
---|---|
date | Thu, 15 Nov 2018 10:24:37 -0500 |
parents | 96fbb0504ac9 |
children | 73a0f0ba30d4 |
line wrap: on
line diff
--- a/validate_affy_metadata.py Thu Nov 15 10:22:56 2018 -0500 +++ b/validate_affy_metadata.py Thu Nov 15 10:24:37 2018 -0500 @@ -129,33 +129,33 @@ # Optional. spawning = string_as_boolean_string(items[19]) # Required. - collector_last_name = items[21] + collector_last_name = items[20] if len(collector_last_name) == 0: accumulated_msgs = empty_value(i, "collector_last_name", accumulated_msgs) # Required. - collector_first_name = items[22] + collector_first_name = items[21] if len(collector_first_name) == 0: accumulated_msgs = empty_value(i, "collector_first_name", accumulated_msgs) # Required. - org = items[23] + org = items[22] if len(org) == 0: accumulated_msgs = empty_value(i, "org", accumulated_msgs) # Required and validated. - collection_date = items[24] + collection_date = items[23] accumulated_msgs = validate_date_string(i, date_entered_db, accumulated_msgs) # Required and validated. - contact_email = items[25] + contact_email = items[24] accumulated_msgs = validate_email(i, contact_email, accumulated_msgs) # Required. - seq_facility = items[26] + seq_facility = items[25] if len(seq_facility) == 0: accumulated_msgs = empty_value(i, "seq_facility", accumulated_msgs) # Optional. - array_version = items[27] + array_version = items[26] # Optional. - public = string_as_boolean_string(items[28]) + public = string_as_boolean_string(items[27]) # Optional. - public_after_date = items[29] + public_after_date = items[28] accumulated_msga = validate_date_string(public_after_date) if len(accumulated_msgs) > 0: