Skip to content

Commit

Permalink
Have to use LazyArtifacts for a lazy artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
marcom committed Jun 27, 2023
1 parent 187fe55 commit 5837f5f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ version = "0.3.0"
[deps]
BioStockholm = "eeb925a3-6f9d-43e6-829e-e0ea03b76ecf"
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
LazyArtifacts = "4af54fe1-eca0-43a8-85a7-787d91b784e3"
Luxor = "ae8d54c2-7ccd-5906-9d76-62fc9837b5bc"
Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f"
PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a"
R2R_jll = "1e27f72a-4876-5c10-8678-3341fdb8ba55"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
Expand Down
3 changes: 2 additions & 1 deletion src/varna.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module VARNA
# `-foo` : error, no argument for option foo
# `-foo bar` : no error or warning

using Pkg.Artifacts: @artifact_str
# TODO, this doesn't work: using LazyArtifacts: @artifact_str
using LazyArtifacts
_get_varna_jar() = artifact"VARNAv3-93_jar/VARNAv3-93.jar"

# VARNA-3.93 supported formats: JPEG,PNG,EPS,XFIG,SVG
Expand Down

0 comments on commit 5837f5f

Please sign in to comment.