Skip to content

Commit

Permalink
patch concat dataframe in tidy.py
Browse files Browse the repository at this point in the history
  • Loading branch information
elolaine committed Apr 3, 2024
1 parent f745fb3 commit d7039e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion thoraxe/subexons/tidy.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ def get_tidy_table(table, gene2species): # pylint: disable=too-many-locals
stop = stop + he_len
tidy_row['S_exon_Start'] = start
tidy_row['S_exon_End'] = stop
tidy_table = tidy_table.append(tidy_row, ignore_index=True)
# FIX for warning in future versions (03/2024)
#tidy_table = tidy_table.append(tidy_row, ignore_index=True)
tidy_table = pd.concat([tidy_table,pd.DataFrame([tidy_row])], ignore_index=True)

tidy_table.rename(columns={
"StartPhase": "SubexonStartPhase",
Expand Down

0 comments on commit d7039e2

Please sign in to comment.