Skip to content

Commit

Permalink
coerce identifiers to strings #402
Browse files Browse the repository at this point in the history
  • Loading branch information
Zigur committed Jul 7, 2021
1 parent 9e96b29 commit 7e9f468
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isatools/isatab.py
Original file line number Diff line number Diff line change
Expand Up @@ -4771,7 +4771,7 @@ def get_comments_row(cols, row):

if len(df_dict['investigation'].index) > 0:
row = df_dict['investigation'].iloc[0]
investigation.identifier = row['Investigation Identifier']
investigation.identifier = str(row['Investigation Identifier'])
investigation.title = row['Investigation Title']
investigation.description = row['Investigation Description']
investigation.submission_date = \
Expand All @@ -4786,7 +4786,7 @@ def get_comments_row(cols, row):
for i in range(0, len(df_dict['studies'])):
row = df_dict['studies'][i].iloc[0]
study = Study()
study.identifier = row['Study Identifier']
study.identifier = str(row['Study Identifier'])
study.title = row['Study Title']
study.description = row['Study Description']
study.submission_date = row['Study Submission Date']
Expand Down

0 comments on commit 7e9f468

Please sign in to comment.