Skip to content

Commit

Permalink
Update to v1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
alliorem committed Apr 10, 2024
1 parent 0ee7240 commit eea6031
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions geneChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ def createImageOfAnnotation(sequenceObject, outputFile):

module_dir = os.path.dirname(__file__)
module_dir = os.path.abspath(module_dir)
font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')
#font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')

font = ImageFont.truetype(font_full_path,12)
font = ImageFont.load_default()

# Now, we'll do the drawing:
draw.text(text_pos, text, fill="black", font=font)
Expand Down
4 changes: 2 additions & 2 deletions geneChecker_fasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,9 +351,9 @@ def createImageOfAnnotation(sequenceObject, outputFile):

module_dir = os.path.dirname(__file__)
module_dir = os.path.abspath(module_dir)
font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')
#font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')

font = ImageFont.truetype(font_full_path,12)
font = ImageFont.load_default()

# Now, we'll do the drawing:
draw.text(text_pos, text, fill="black", font=font)
Expand Down
4 changes: 2 additions & 2 deletions geneChecker_fasta_gaps.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ def createImageOfAnnotation(sequenceObject, outputFile):

module_dir = os.path.dirname(__file__)
module_dir = os.path.abspath(module_dir)
font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')
#font_full_path = os.path.join(module_dir, 'fonts/FreeSans.ttf')

font = ImageFont.truetype(font_full_path,12)
font = ImageFont.load_default()

# Now, we'll do the drawing:
draw.text(text_pos, text, fill="black", font=font)
Expand Down

0 comments on commit eea6031

Please sign in to comment.