Skip to content

Commit

Permalink
closes #18 fix number mismatch in tablulated data
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Mar 18, 2021
1 parent d5b9b26 commit b9f1270
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,7 @@ def unmap_model(self, model, data_dict=None):
data_dict[model.attribute_map[key_]] = sub_data_dict
else:
data_dict[model.attribute_map[key_]] = val

return data_dict


Expand All @@ -657,7 +657,7 @@ def tabular_data(self, data, ome):
tab_data = []
headers = tabulate_endpoints[ome]
for i, entry in enumerate(data):
row_ = [i]
row_ = [i+1]
for header in headers:
row_.append(entry[header])
tab_data.append(row_)
Expand Down

0 comments on commit b9f1270

Please sign in to comment.