Skip to content

Commit

Permalink
[FTheoryTools] Add some missing ensure_artifact_installed to doctests
Browse files Browse the repository at this point in the history
  • Loading branch information
lgoettgens authored and HereAround committed Aug 29, 2024
1 parent 66928b8 commit 3001f2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions experimental/FTheoryTools/src/G4Fluxes/attributes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Return the F-theory model for which this $G_4$-flux candidate is defined.
```jldoctest
```jldoctest; setup = :(Oscar.LazyArtifacts.ensure_artifact_installed("QSMDB", Oscar.LazyArtifacts.find_artifacts_toml(Oscar.oscardir)))
julia> qsm_model = literature_model(arxiv_id = "1903.00009", model_parameters = Dict("k" => 4))
Hypersurface model over a concrete base
Expand All @@ -30,7 +30,7 @@ model(gf::G4Flux) = gf.model
Return the cohomology class which defines the $G_4$-flux candidate.
```jldoctest
```jldoctest; setup = :(Oscar.LazyArtifacts.ensure_artifact_installed("QSMDB", Oscar.LazyArtifacts.find_artifacts_toml(Oscar.oscardir)))
julia> qsm_model = literature_model(arxiv_id = "1903.00009", model_parameters = Dict("k" => 4))
Hypersurface model over a concrete base
Expand Down
2 changes: 1 addition & 1 deletion experimental/FTheoryTools/src/G4Fluxes/constructors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ ring with `check = false`. This will avoid this time consuming test.
An example is in order.
# Examples
```jldoctest
```jldoctest; setup = :(Oscar.LazyArtifacts.ensure_artifact_installed("QSMDB", Oscar.LazyArtifacts.find_artifacts_toml(Oscar.oscardir)))
julia> qsm_model = literature_model(arxiv_id = "1903.00009", model_parameters = Dict("k" => 4))
Hypersurface model over a concrete base
Expand Down
2 changes: 1 addition & 1 deletion experimental/FTheoryTools/src/G4Fluxes/properties.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ support this check for $G_4$-fluxes defined on Weierstrass,
global Tate and hypersurface models. If this condition is not
met, this method will return an error.
```jldoctest
```jldoctest; setup = :(Oscar.LazyArtifacts.ensure_artifact_installed("QSMDB", Oscar.LazyArtifacts.find_artifacts_toml(Oscar.oscardir)))
julia> qsm_model = literature_model(arxiv_id = "1903.00009", model_parameters = Dict("k" => 4))
Hypersurface model over a concrete base
Expand Down

0 comments on commit 3001f2d

Please sign in to comment.