# HG changeset patch # User greg # Date 1542225295 18000 # Node ID f8488ab257ac3c823034985a780a88bed455320d # Parent 017f975149b290672ff94ebfcd6c606a93ffbc26 Uploaded diff -r 017f975149b2 -r f8488ab257ac validate_affy_metadata.py --- a/validate_affy_metadata.py Wed Nov 14 14:53:02 2018 -0500 +++ b/validate_affy_metadata.py Wed Nov 14 14:54:55 2018 -0500 @@ -76,7 +76,7 @@ accumulated_msgs = empty_value(i, "sample_id", accumulated_msgs) # Required and validated. date_entered_db = items[1] - accumulated_msgs = validate_date_string(date_entered_db, accumulated_msgs) + accumulated_msgs = validate_date_string(i, date_entered_db, accumulated_msgs) # Required. user_specimen_id = items[2] if len(user_specimen_id) == 0: @@ -137,7 +137,7 @@ accumulated_msgs = empty_value(i, "org", accumulated_msgs) # Required and validated. collection_date = items[25] - accumulated_msgs = validate_date_string(date_entered_db, accumulated_msgs) + accumulated_msgs = validate_date_string(i, date_entered_db, accumulated_msgs) # Required and validated. contact_email = items[26] accumulated_msgs = validate_email(contact_email, accumulated_msgs)