Skip to content

Commit

Permalink
Fix to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Jan 29, 2024
1 parent 1d59745 commit 27c3359
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
10 changes: 7 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,13 @@ CurrentModule = GeoEnergyIO

Documentation for [GeoEnergyIO](https://github.com/sintefmath/GeoEnergyIO.jl).

```@index
```@docs
parse_data_file
parse_grdecl_file
mesh_from_grid_section
get_data_file_cell_region
```

```@autodocs
Modules = [GeoEnergyIO]
```@index
```

3 changes: 2 additions & 1 deletion src/GeoEnergyIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ module GeoEnergyIO
import .CornerPointGrid: mesh_from_grid_section

function test_input_file_path(folder, name = missing; base = "mrst")
test_dir = joinpath(pathof(GeoEnergyIO), "..", "..", "test", "data")
pth, = splitdir(pathof(GeoEnergyIO))
test_dir = joinpath(pth, "..", "test", "data")
deck_dir = joinpath(test_dir, base)
if ismissing(name)
out = joinpath(deck_dir, folder)
Expand Down

0 comments on commit 27c3359

Please sign in to comment.