Skip to content

Commit

Permalink
Bug: relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
arodel21 committed Apr 13, 2023
1 parent 96ad0a4 commit fdd3c5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/GenoVi.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ def visualiseGenome(input_file, status, output_file = "genovi",
print("Circos is not installed. please install for using GenoVi.")
raise Exception("Circos is not installed. please install for using GenoVi.")

if "/" in output_file:
output_file = list(filter(None,output_file.split("/")))[-1]


colour_scheme, background_colour, GC_content, GC_skew, tRNA, rRNA, CDS_positive, CDS_negative, skew_line_colour = parseColours(colour_scheme, background_colour, GC_content, GC_skew, tRNA, rRNA, CDS_positive, CDS_negative, skew_line_colour)
delete_background = False
if background_colour == "transparent" or background_colour == "none" or background_colour == "auto":
Expand Down

0 comments on commit fdd3c5d

Please sign in to comment.