Skip to content

Commit

Permalink
fixed an error when using Matrix_ID_mapping special in 1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlitnightly committed Jul 17, 2024
1 parent ac76a0a commit d17295e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion omicverse/bulk/_Deseq2.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def Matrix_ID_mapping(data:pd.DataFrame,gene_ref_path:str)->pd.DataFrame:
pair=pd.read_csv(gene_ref_path,sep='\t',index_col=0)
ret_gene=list(set(data.index.tolist()) & set(pair.index.tolist()))
data=data.loc[ret_gene]
data=data_drop_duplicates_index(data)
#data=data_drop_duplicates_index(data)
new_index=[]
for i in ret_gene:
a=pair.loc[i,'symbol']
Expand Down
2 changes: 1 addition & 1 deletion omicverse/bulk/_Enrichment.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ def geneset_plot_multi(enr_dict,colors_dict,num:int=5,fontsize=10,
for key in enr_dict.keys():
enr_dict[key]['Type']=key
enr_all=pd.concat([enr_dict[i].iloc[:num] for i in enr_dict.keys()],axis=0)
enr_all['Term']=[ov.utils.plot_text_set(i.split('(')[0],text_knock=text_knock,text_maxsize=text_maxsize) for i in enr_all.Term.tolist()]
enr_all['Term']=[plot_text_set(i.split('(')[0],text_knock=text_knock,text_maxsize=text_maxsize) for i in enr_all.Term.tolist()]
enr_all.index=enr_all.Term
enr_all['Term1']=[i for i in enr_all.index.tolist()]
del enr_all['Term']
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi"

[project]
name = "omicverse"
version = "1.6.4"
version = "1.6.5"
description = "OmicVerse: A single pipeline for exploring the entire transcriptome universe"
readme = "README.md"
requires-python = ">=3.8"
Expand Down

0 comments on commit d17295e

Please sign in to comment.