Skip to content

Commit

Permalink
pre-compile show
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreener64 committed May 23, 2024
1 parent b4f3455 commit b958cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/BioStructures.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ using CodecZlib
using Downloads
using Format
import MMTF: parsemmtf, writemmtf # Imported to avoid clash with MMTF name
using PrecompileTools
using RecipesBase
using STRIDE_jll
using DSSP_jll
Expand All @@ -36,8 +37,6 @@ if !isdefined(Base, :get_extension)
include("../ext/BioStructuresGraphsExt.jl")
end

using PrecompileTools

@compile_workload begin
let
mktemp() do path, io
Expand All @@ -52,7 +51,8 @@ using PrecompileTools
ATOM 8 CE MET A 1 -3.296 14.391 24.798 1.00 54.68 C
END
""")
read(path, PDB)
struc = read(path, PDB)
show(devnull, struc)
end
end
end
Expand Down

0 comments on commit b958cb1

Please sign in to comment.