Skip to content

Commit

Permalink
Merge pull request #5 from microbiomedata/4-helper-function-returns-d…
Browse files Browse the repository at this point in the history
…ict-but-insert_many-expects-a-non-empty-list

Print the `rows` value to help with debugging
  • Loading branch information
eecavanna authored May 13, 2024
2 parents b9c7f4f + d673d8a commit fc8e261
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generate_metap_agg.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ def sweep(self):
if DEBUG_MODE:
print(f"{type(rows)=}") # print type
print(f"{len(rows)=}") # print length
if type(rows) is list and len(rows) > 0:
print(f"{rows[0]}") # print first row
print(f"{rows=}") # print the value

except Exception as ex:
# Continue on errors
Expand Down

0 comments on commit fc8e261

Please sign in to comment.