Skip to content

Commit

Permalink
EI-CoreBioinformatics#136: fixed the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lucventurini committed Nov 27, 2019
1 parent 8d5cb1c commit f871716
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Mikado/configuration/daijin_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def create_daijin_config(args, level="ERROR", piped=False):
logger = create_default_logger("daijin_config", level=level)

config = create_daijin_base_config(simple=(not args.full))
if args.seed is not None:
if args.seed is not None and isinstance(args.seed, int) and args.seed not in (True, False):
config["seed"] = args.seed
assert "reference" in config, config.keys()
config["reference"]["genome"] = args.genome
Expand Down
1 change: 1 addition & 0 deletions Mikado/tests/check_seed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ serialise:
output_dir: .
transcripts: mikado_prepared.fasta
xml: []
codon_table: 0
max_regression: 0.1
procs: 1
short_reads:
Expand Down
4 changes: 3 additions & 1 deletion Mikado/tests/test_external/mikado.configuration.testds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,8 @@ prepare:
- Rmai_coding.gff
- Rpad_coding.gff
- Sfuc_coding.gff
minimum_cdna_length: 200
max_intron_length: 1000000
lenient: false
procs: 1
strand_specific: false
Expand All @@ -269,6 +271,6 @@ serialise:
output_dir: Testds
transcripts: mikado_prepared.testds.fasta
xml: []
codon_table: 0
max_regression: 0.1
procs: 1

0 comments on commit f871716

Please sign in to comment.