Skip to content

Commit 52f0e23

Browse files
authored
Merge pull request #892 from hubmapconsortium/Derek-Furst/typo-typo
Derek furst/typo typo
2 parents c082039 + 6dee1f3 commit 52f0e23

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3142,7 +3142,7 @@ def validate_samples(headers, records, header):
31423142
error_msg.append(f"<blank> is not an accepted field. Check for incorrect spaces and tabs in the header line")
31433143
elif field not in required_headers:
31443144
file_is_valid = False
3145-
error_msg.append(f"{field} is not an accepted field. Check for any typo's in header row.")
3145+
error_msg.append(f"{field} is not an accepted field in the header row.")
31463146
accepted_sample_categories = ["organ", "block", "section", "suspension"]
31473147

31483148
organ_types_url = app.config['UBKG_WEBSERVICE_URL'] + 'organs/by-code?application_context=HUBMAP'
@@ -3318,7 +3318,7 @@ def validate_donors(headers, records):
33183318
error_msg.append(f"<blank> is not an accepted field. Check for incorrect spaces and tabs in the header line")
33193319
elif field not in required_headers:
33203320
file_is_valid = False
3321-
error_msg.append(f"{field} is not an accepted field. Check for any typo's in header row.")
3321+
error_msg.append(f"{field} is not an accepted field in the header row.")
33223322
rownum = 0
33233323
if file_is_valid is True:
33243324
for data_row in records:

0 commit comments

Comments
 (0)