Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Xinpeng021001 authored Aug 1, 2024
1 parent 016e287 commit 5a2051e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dbcan/cli/syntenic_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,8 @@ def syntenic_plot(starts,starts1,ends,ends1,strands,strands1,Types,Types1,blocks
plt.tight_layout(pad=0.01)
cgcid = cgcid.replace("|","_") ### need to replace "|" to "_", because | is a special chara for system
### for local
#print(f"Save figure to file synteny.pdf/{cgcid}-syntenic.pdf ")
os.makedirs("synteny.pdf",exist_ok=True)
print(f"Save figure to file synteny.pdf/{cgcid}-syntenic.pdf ")
plt.savefig(f"synteny.pdf/{cgcid}-syntenic.pdf")
plt.close()

Expand Down

0 comments on commit 5a2051e

Please sign in to comment.