Skip to content

Instantly share code, notes, and snippets.

@tom--lee
tom--lee / pore_finder.jl
Last active Aug 22, 2018
Finding a pore in a lipid bilayer
View pore_finder.jl
using Pkg
Pkg.add("MolecularBoxes")
Pkg.add("MolecularTrajectories")
Pkg.add("MolecularTopologies")
using Printf
using Statistics
using StaticArrays
using MolecularTrajectories, MolecularTopologies, MolecularBoxes
@tom--lee
tom--lee / Pkg3 error
Created Mar 22, 2018
Error downloading own package
View Pkg3 error
pkg> add http://XXXXXXXX/GroFiles.jl.git
┌ Info: Pkg3 is running without precompile statements, first action will be slow.
│ Rebuild julia with the environment variable `JULIA_PKG3_PRECOMPILE` set to enable precompilation of Pkg3.
└ This message can be disabled by setting the env variable `JULIA_PKG3_DISABLE_PRECOMPILE_WARNING`.
Updating repo from http:/XXXXXXXX/GroFiles.jl.git
Username for 'http://XXXXXXX':
Password for 'http://XXXXXXX':
Resolving package versions...
ERROR: MethodError: no method matching startswith(::String, ::LibGit2.GitRepo)
Closest candidates are: