Skip to content

Commit

Permalink
Merge pull request #185 from thermotools/doc_typo
Browse files Browse the repository at this point in the history
Fix typos in docs.
  • Loading branch information
Morten Hammer authored Dec 17, 2024
2 parents 42cff52 + 5322280 commit 1228893
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 18 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!---
Generated at: 2024-11-13T22:15:22.614283
Generated at: 2024-12-13T12:43:28.581382
This is an auto-generated file, generated using the script at thermopack/addon/pyUtils/docs/join_docs.py
The file is created by joining the contents of the files
/Users/morteham/Documents/codes/thermotools/thermopack_ljs/addon/pyUtils/docs/../../../docs/vCurrent/
/Users/vegardjervell/code/thermopack/addon/pyUtils/docs/../../../docs/vCurrent/
readme_parts/header.md
readme_parts/github_toc.md
metapages/please_cite.md
Expand All @@ -14,7 +14,6 @@ The file is created by joining the contents of the files
vCurrent/Component-name-mapping.md
--->

# ThermoPack
# [ThermoPack homepage](https://thermotools.github.io/thermopack/)

For the full documentation and user guide to ThermoPack, see the [ThermoPack homepage.](https://thermotools.github.io/thermopack/)
Expand Down Expand Up @@ -171,7 +170,7 @@ pip3 install thermopack
For documentation on the version available on pypi, refer to the appropriate version number in the sidebar.

## Installing from wheels
Pre-built wheels for the latest version of ThermoPack on GitHub are available for download [here](). Refer to the linked page for instructions on how to install packages directly from a python wheel. Please note that the latest version on GitHub may be less stable, tested, and well documented than the versions distributed on PyPI.
Pre-built wheels for the latest version of ThermoPack on GitHub are available for download [here](https://github.com/thermotools/thermopack/releases/tag/Latest-beta). Refer to the linked page for instructions on how to install packages directly from a python wheel. Please note that the latest version on GitHub may be less stable, tested, and well documented than the versions distributed on PyPI.

## Building from source
The following sections show how to fetch, compile and install Thermopack and
Expand Down Expand Up @@ -525,7 +524,7 @@ eos = saftvrqmie('H2,HE,NE', minimum_temperature=20) # NB: Set minimum temperatu
T = 35 # Kelvin
p = 3e6 # Pascal (30 bar)
z = [0.1, 0.25, 0.65] # Molar composition
flsh = eos.two_phase_tpflash(T, p, x) # flsh is a FlashResult object
flsh = eos.two_phase_tpflash(T, p, z) # flsh is a FlashResult object
print(flsh)
### Output: ###
# FlashResult object for Tp-flash
Expand All @@ -540,12 +539,12 @@ print(flsh)
# Liquid fraction betaL : 0.5026975918252341
# Phase indentifier index phase : 0
```
the result of the flash is accessed from the attributes of the `FlashResult` object, found in [`utils.py`](https://github.com/thermotools/thermopack/blob/main/addon/pycThermopack/thermopack/utils.py), as
the result of the flash is accessed from the attributes of the [`FlashResult`](utility_structs.html#flashresult) object, found in [`utils.py`](https://github.com/thermotools/thermopack/blob/main/addon/pycThermopack/thermopack/utils.py), as
```Python
# Continued
x = flsh.x # Liquid composition
y = flsh.y # Vapour composition
betaL = flsh.betaL #
betaL = flsh.betaL # Liquid fraction
# ... etc
```

Expand Down
5 changes: 2 additions & 3 deletions addon/pycThermopack/README_pypi.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<!---
Generated at: 2024-11-13T22:15:22.611133
Generated at: 2024-12-13T12:43:28.580207
This is an auto-generated file, generated using the script at thermopack/addon/pyUtils/docs/join_docs.py
The file is created by joining the contents of the files
/Users/morteham/Documents/codes/thermotools/thermopack_ljs/addon/pyUtils/docs/../../../docs/vCurrent/
/Users/vegardjervell/code/thermopack/addon/pyUtils/docs/../../../docs/vCurrent/
readme_parts/header.md
readme_parts/pypi_toc.md
metapages/please_cite.md
Expand All @@ -12,7 +12,6 @@ The file is created by joining the contents of the files
v2.2.0/Component-name-mapping.md
--->

# ThermoPack
# [ThermoPack homepage](https://thermotools.github.io/thermopack/)

For the full documentation and user guide to ThermoPack, see the [ThermoPack homepage.](https://thermotools.github.io/thermopack/)
Expand Down
4 changes: 0 additions & 4 deletions docs/readme_parts/header.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
layout: home
title: ThermoPack
---
# [ThermoPack homepage](https://thermotools.github.io/thermopack/)

For the full documentation and user guide to ThermoPack, see the [ThermoPack homepage.](https://thermotools.github.io/thermopack/)
Expand Down
6 changes: 3 additions & 3 deletions docs/vCurrent/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ eos = saftvrqmie('H2,HE,NE', minimum_temperature=20) # NB: Set minimum temperatu
T = 35 # Kelvin
p = 3e6 # Pascal (30 bar)
z = [0.1, 0.25, 0.65] # Molar composition
flsh = eos.two_phase_tpflash(T, p, x) # flsh is a FlashResult object
flsh = eos.two_phase_tpflash(T, p, z) # flsh is a FlashResult object
print(flsh)
### Output: ###
# FlashResult object for Tp-flash
Expand All @@ -193,12 +193,12 @@ print(flsh)
# Liquid fraction betaL : 0.5026975918252341
# Phase indentifier index phase : 0
```
the result of the flash is accessed from the attributes of the `FlashResult` object, found in [`utils.py`](https://github.com/thermotools/thermopack/blob/main/addon/pycThermopack/thermopack/utils.py), as
the result of the flash is accessed from the attributes of the [`FlashResult`](utility_structs.html#flashresult) object, found in [`utils.py`](https://github.com/thermotools/thermopack/blob/main/addon/pycThermopack/thermopack/utils.py), as
```Python
# Continued
x = flsh.x # Liquid composition
y = flsh.y # Vapour composition
betaL = flsh.betaL #
betaL = flsh.betaL # Liquid fraction
# ... etc
```

Expand Down
2 changes: 1 addition & 1 deletion docs/vCurrent/source_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pip3 install thermopack
For documentation on the version available on pypi, refer to the appropriate version number in the sidebar.

## Installing from wheels
Pre-built wheels for the latest version of ThermoPack on GitHub are available for download [here](). Refer to the linked page for instructions on how to install packages directly from a python wheel. Please note that the latest version on GitHub may be less stable, tested, and well documented than the versions distributed on PyPI.
Pre-built wheels for the latest version of ThermoPack on GitHub are available for download [here](https://github.com/thermotools/thermopack/releases/tag/Latest-beta). Refer to the linked page for instructions on how to install packages directly from a python wheel. Please note that the latest version on GitHub may be less stable, tested, and well documented than the versions distributed on PyPI.

## Building from source
The following sections show how to fetch, compile and install Thermopack and
Expand Down

0 comments on commit 1228893

Please sign in to comment.