Skip to content

Commit

Permalink
Add missing docstring for melts_query_system
Browse files Browse the repository at this point in the history
  • Loading branch information
brenhinkeller committed Aug 22, 2023
1 parent 23a92e7 commit 4f60b6f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/utilities/Geochemistry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@

"""
```julia
melts_query_modes(scratchdir::String; index=1)
melts_query(scratchdir::String; index=1)
```
Read all phase proportions from `Phase_main_tbl.txt` in specified MELTS run directory
Returns an elementified dictionary
Expand Down Expand Up @@ -655,7 +655,13 @@
end
export melts_query_solid

# Read system thermodynamic data, return as elementified dictionary
"""
```julia
melts_query_system(scratchdir::String; index=1, importas=:Dict)
```
Read system thermodynamic and composition data from `System_main_tbl.txt` in
specified MELTS run directory. Returns an elementified dictionary or tuple.
"""
function melts_query_system(scratchdir::String; index=1, importas=:Dict)
prefix = joinpath(scratchdir, "out$(index)/") # path to data files

Expand Down

0 comments on commit 4f60b6f

Please sign in to comment.