Skip to content

Commit

Permalink
Merge pull request #6 from eastgenomics/df_types_fix
Browse files Browse the repository at this point in the history
convert all df columns to object type (#6)
  • Loading branch information
chrispyatt authored Jul 1, 2024
2 parents b438e23 + 703a14f commit db1c1ff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/home/dnanexus/make_workbook.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,10 @@ def create_additional_analysis_page(self):
# Get list of all columns except 'Priority' column
col_except_priority = self.column_list
col_except_priority.remove('Priority')
# Convert all df columns to object type to allow merging without
# conflicts
ex_df = ex_df.astype(object)
self.var_df = self.var_df.astype(object)
# Merge exomiser df with tiered variants df, indicating if there
# is a difference between Priority
ex_df = ex_df.merge(
Expand Down

0 comments on commit db1c1ff

Please sign in to comment.