compbiocore/VariantVisualization.jl

Cannot complete step 2 of installation

Closed this issue · 5 comments

Running the following from the julia command line:

]add VariantVisualization
exit()

Yields the following error:

ERROR: syntax: unexpected "]"
Stacktrace:
[1] top-level scope at none:0

@jasiozaucha Thanks for your question. What version of Julia are you using? Typing right bracket ] in the REPL is just the command to enter the package manager. It should not throw this error as long as you are using Julia v1.0+.

If you are using Julia v1.0+ and getting the error, I would try putting a space between ] and add. Let me know if you are able to run it.

I was using Julia 1.2.
Its a bit crazy but the bracket copied from the website is different to the bracket I could successfully input using my keyboard. Some encoding issue I guess.

@jasiozaucha Ok, that makes sense. I'll add an extra space in the documentation example code to make it more clear.

I'll close this issue now since we've resolved it. Please feel free to post another issue if you have any questions.

I think you need to fix the installation instructions. I copied and pasted and had the same problem. By hitting the ] separately it entered what I assume is package manager mode and I could then install the package. I don't how to get out of PM mode - ^D sent me back to the command prompt.

I also got this:

(v1.3) pkg> exit()
ERROR: Could not determine command

In my experience, julia is pretty much unheard of in bioinformatics so you should bear that in mind when writing documentation.

Yup, I still have this issue when copy-pasting your instructions.