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

MentaLiST :: test failure #118

Open
EricDeveaud opened this issue Jan 5, 2021 · 0 comments
Open

MentaLiST :: test failure #118

EricDeveaud opened this issue Jan 5, 2021 · 0 comments

Comments

@EricDeveaud
Copy link

Hello after installing Mentalist (cloned commit: fbfa6b8)

for MentaLiST installation I tried both julia/1.4.1 or julia/1.1.1 and got the same behaviour as displayed bellow

I tried to run the test runtests.jl an I have this error.

[gensoft@44c2b247019e test]$ julia runtests.jl 
[ Info: Compiling bit-parallel GC counter for LongSequence{<:NucleicAcidAlphabet}
[ Info: Compiling bit-parallel mismatch counter for LongSequence{<:NucleicAcidAlphabet}
[ Info: Compiling bit-parallel match counter for LongSequence{<:NucleicAcidAlphabet}
[ Info: Compiling bit-parallel ambiguity counter...
[ Info: 	For a single LongSequence{<:NucleicAcidAlphabet}
[ Info: 	For a pair of LongSequence{<:NucleicAcidAlphabet}s
[ Info: Compiling bit-parallel certainty counter for LongSequence{<:NucleicAcidAlphabet}
[ Info: Compiling bit-parallel gap counter for LongSequence{<:NucleicAcidAlphabet}
ERROR: LoadError: LoadError: LoadError: TaskFailedException:
TypeError: in Type{...} expression, expected UnionAll, got Type{Mer{DNAAlphabet{2},31}}
Stacktrace:
 [1] top-level scope at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/src/db_graph.jl:12
 [2] eval at ./boot.jl:331 [inlined]
 [3] (::Distributed.var"#153#154"{Module,Expr})() at ./task.jl:358
Stacktrace:
 [1] sync_end(::Array{Any,1}) at ./task.jl:316
 [2] macro expansion at ./task.jl:335 [inlined]
 [3] remotecall_eval(::Module, ::Array{Int64,1}, ::Expr) at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:217
 [4] top-level scope at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:201
 [5] include(::String) at ./client.jl:439
 [6] top-level scope at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/src/build_db_functions.jl:8
 [7] include(::String) at ./client.jl:439
 [8] top-level scope at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/test/runtests.jl:6
 [9] include(::Module, ::String) at ./Base.jl:377
 [10] exec_options(::Base.JLOptions) at ./client.jl:288
 [11] _start() at ./client.jl:484
in expression starting at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/src/db_graph.jl:12
in expression starting at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/src/build_db_functions.jl:8
in expression starting at /opt/gensoft/src/MentaLiST/MentaLiST-0.2.4/test/runtests.jl:6

NB I am abble to run the first commands from the 'Basic Usage' notebook
aka:

mentalist -h
mentalist call -h 
mentalist list_pubmlst -h
mentalist list_pubmlst -p Campylobacter

runs smoothly and don't display any error

but

mentalist download_pubmlst -k 31 -o campy_mlst_fasta_files -s 28 --db campy_mlst.db

fail with followin error message

[gensoft@44c2b247019e test]$ mentalist download_pubmlst -k 31 -o campy_mlst_fasta_files -s 28 --db campy_mlst.db
ERROR: LoadError: LoadError: LoadError: On worker 2:
TypeError: in Type{...} expression, expected UnionAll, got Type{Mer{DNAAlphabet{2},31}}
top-level scope at none:0
eval at ./boot.jl:331
#101 at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:290
run_work_thunk at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:79
run_work_thunk at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/process_messages.jl:88
#94 at ./task.jl:358

...and 1 more exception(s).

Stacktrace:
 [1] sync_end(::Array{Any,1}) at ./task.jl:316
 [2] macro expansion at ./task.jl:335 [inlined]
 [3] remotecall_eval(::Module, ::Array{Int64,1}, ::Expr) at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:217
 [4] top-level scope at /opt/gensoft/src/julia/julia-1.4.1/usr/share/julia/stdlib/v1.4/Distributed/src/macros.jl:201
 [5] include(::String) at ./client.jl:439
 [6] top-level scope at /opt/gensoft/exe/MentaLiST/0.2.4/libexec/build_db_functions.jl:8
 [7] include(::String) at ./client.jl:439
 [8] top-level scope at /opt/gensoft/exe/MentaLiST/0.2.4/libexec/MentaLiST.jl:345
 [9] include(::Module, ::String) at ./Base.jl:377
 [10] exec_options(::Base.JLOptions) at ./client.jl:288
 [11] _start() at ./client.jl:484
in expression starting at /opt/gensoft/exe/MentaLiST/0.2.4/libexec/db_graph.jl:12
in expression starting at /opt/gensoft/exe/MentaLiST/0.2.4/libexec/build_db_functions.jl:8
in expression starting at /opt/gensoft/exe/MentaLiST/0.2.4/libexec/MentaLiST.jl:323

as I am completly julia newbie I can't dig further in the code to try to understand the problem.

regards

Eric

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant