foamlib 0.3.2__tar.gz → 0.3.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {foamlib-0.3.2 → foamlib-0.3.3}/PKG-INFO +1 -1
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/__init__.py +1 -1
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_cases.py +1 -1
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_parsing.py +2 -2
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib.egg-info/PKG-INFO +1 -1
- {foamlib-0.3.2 → foamlib-0.3.3}/LICENSE.txt +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/README.md +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/__init__.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_base.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_fields.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_files.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_io.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_files/_serialization.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/_util.py +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib/py.typed +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib.egg-info/SOURCES.txt +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib.egg-info/dependency_links.txt +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib.egg-info/requires.txt +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/foamlib.egg-info/top_level.txt +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/pyproject.toml +0 -0
- {foamlib-0.3.2 → foamlib-0.3.3}/setup.cfg +0 -0
@@ -32,7 +32,7 @@ from ._util import is_sequence, run_process, run_process_async
|
|
32
32
|
|
33
33
|
|
34
34
|
class FoamCaseBase(Sequence["FoamCaseBase.TimeDirectory"]):
|
35
|
-
def __init__(self, path: Union[Path, str]):
|
35
|
+
def __init__(self, path: Union[Path, str] = Path()):
|
36
36
|
self.path = Path(path).absolute()
|
37
37
|
if not self.path.is_dir():
|
38
38
|
raise NotADirectoryError(f"{self.path} is not a directory")
|
@@ -27,7 +27,7 @@ from pyparsing import (
|
|
27
27
|
c_style_comment,
|
28
28
|
common,
|
29
29
|
cpp_style_comment,
|
30
|
-
|
30
|
+
identchars,
|
31
31
|
printables,
|
32
32
|
)
|
33
33
|
|
@@ -83,7 +83,7 @@ _DIMENSIONS = (
|
|
83
83
|
Literal("[").suppress() + common.number * 7 + Literal("]").suppress()
|
84
84
|
).set_parse_action(lambda tks: FoamDict.DimensionSet(*tks))
|
85
85
|
_TENSOR = _list_of(common.number) | common.number
|
86
|
-
_IDENTIFIER = Word(
|
86
|
+
_IDENTIFIER = Word(identchars + "$", printables, exclude_chars=";")
|
87
87
|
_DIMENSIONED = (Opt(_IDENTIFIER) + _DIMENSIONS + _TENSOR).set_parse_action(
|
88
88
|
lambda tks: FoamDict.Dimensioned(*reversed(tks.as_list()))
|
89
89
|
)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|