Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhassell committed Mar 23, 2024
1 parent a3d5e4b commit 75704c5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions cf/read_write/um/umread.py
Original file line number Diff line number Diff line change
Expand Up @@ -3484,7 +3484,7 @@ def _open_um_file(
parse: `bool`, optional
If True, the default, then parse the contents. If
False then the contents are not parsed, which can be
considerable faster in cases when the contents are not
considerably faster in cases when the contents are not
required.
.. versionadded:: NEXTVERSION
Expand Down Expand Up @@ -3538,7 +3538,7 @@ def is_um_file(self, filename):
"""
try:
# Note: No need to completely parse the file to ascertain
# if it's PP of FF.
# if it's PP or FF.
self.file_open(filename, parse=False)
except Exception:
self.file_close()
Expand Down Expand Up @@ -3572,7 +3572,7 @@ def file_open(self, filename, parse=True):
parse: `bool`, optional
If True, the default, then parse the contents. If
False then the contents are not parsed, which can be
considerable faster in cases when the contents are not
considerably faster in cases when the contents are not
required.
.. versionadded:: NEXTVERSION
Expand Down
6 changes: 3 additions & 3 deletions cf/umread_lib/umfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,8 @@ def from_file_and_offsets(
"""Instantiate a `Rec` object from the `File` object and the
header and data offsets.
The lookup header are read in immediately, and the returned
record object is ready for calling `get_data`.
The lookup header is read from disk immediately, and the
returned record object is ready for calling `get_data`.
:Parameters:
Expand All @@ -313,7 +313,7 @@ def from_file_and_offsets(
disk_length: `int`
The length in bytes of the data in the file. If
`None`, the default, then the disk length will be
calculated from the integer.
calculated from the integer header.
:Returns:
Expand Down

0 comments on commit 75704c5

Please sign in to comment.