Skip to content

Commit

Permalink
Merge pull request #23 from JbaptisteLam/master
Browse files Browse the repository at this point in the history
Hotfix
  • Loading branch information
JbaptisteLam authored Jan 18, 2023
2 parents a7a6751 + 64ad1fa commit 96c1c14
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ install_requires =
webcolors
pyfiglet
scipy
kaleido
[options.extras_require]
dev =
black
Expand Down
9 changes: 4 additions & 5 deletions vcf2circos/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,6 @@ def main():
},
)
for scatter in fig["data"]:
if scatter.name == "CYTOBAND":
print(scatter.text)
print(scatter.marker)
exit()
if scatter.showlegend is None and hasattr(scatter, "name"):
if scatter.name is not None:
scatter.legendrank = dico[scatter.name]
Expand Down Expand Up @@ -207,7 +203,10 @@ def main():
"eps",
"json",
]:
if not os.path.exists(os.path.dirname(output_file)):
if (
not os.path.exists(os.path.dirname(output_file))
and os.path.dirname(output_file) != ""
):
os.mkdir(os.path.dirname(output_file))
plotly.io.write_image(fig, output_file, format=output_format)
else:
Expand Down

0 comments on commit 96c1c14

Please sign in to comment.