Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove uncorrect_ini_file folder #254

Merged
merged 1 commit into from
Jul 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions pygenometracks/tests/test_bed_and_gtf_tracks.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,25 +486,25 @@

wrong_track = """
[test gtf]
file = ../dm3_subset_BDGP5.78_gtf.dat
file = dm3_subset_BDGP5.78_gtf.dat
height = 10
title = gtf from ensembl (with dat extension)
fontsize = 12
file_type = bed
"""
with open(os.path.join(ROOT, "uncorrect_ini_files", "gtf_as_bed.ini"), 'w') as fh:
with open(os.path.join(ROOT, "gtf_as_bed.ini"), 'w') as fh:
fh.write(wrong_track)


wrong_track = """
[test bed]
file = ../dm3_genes.bed.gz
file = dm3_genes.bed.gz
height = 10
title = bed file
fontsize = 12
file_type = gtf
"""
with open(os.path.join(ROOT, "uncorrect_ini_files", "bed_as_gtf.ini"), 'w') as fh:
with open(os.path.join(ROOT, "bed_as_gtf.ini"), 'w') as fh:
fh.write(wrong_track)

browser_tracks = """
Expand Down Expand Up @@ -762,7 +762,7 @@ def test_gtf_as_bed():
args = "--tracks {0} --region X:3100000-3200000 "\
"--trackLabelFraction 0.2 --width 38 --dpi 130 " \
"--trackLabelHAlign right --outFileName {1}" \
"".format(os.path.join(ROOT, "uncorrect_ini_files", "gtf_as_bed.ini"),
"".format(os.path.join(ROOT, "gtf_as_bed.ini"),
outfile.name).split()
try:
pygenometracks.plotTracks.main(args)
Expand All @@ -779,7 +779,7 @@ def test_bed_as_gtf():
args = "--tracks {0} --region X:3100000-3200000 "\
"--trackLabelFraction 0.2 --width 38 --dpi 130 " \
"--trackLabelHAlign right --outFileName {1}" \
"".format(os.path.join(ROOT, "uncorrect_ini_files", "bed_as_gtf.ini"),
"".format(os.path.join(ROOT, "bed_as_gtf.ini"),
outfile.name).split()
try:
pygenometracks.plotTracks.main(args)
Expand Down
2 changes: 1 addition & 1 deletion pygenometracks/tests/test_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


ROOT = os.path.join(os.path.dirname(os.path.abspath(__file__)),
"test_data", "uncorrect_ini_files")
"test_data")

test_tracks_1 = """
[vlines]
Expand Down

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.