Skip to content

Instantly share code, notes, and snippets.

@tom--lee
tom--lee / pore_finder.jl
Last active August 22, 2018 10:13
Finding a pore in a lipid bilayer
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 March 22, 2018 22:01
Error downloading own package
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: