foamlib 0.6.4__tar.gz → 0.6.5__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.6.4 → foamlib-0.6.5}/PKG-INFO +1 -1
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/__init__.py +1 -1
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_files.py +2 -4
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib.egg-info/PKG-INFO +1 -1
- {foamlib-0.6.4 → foamlib-0.6.5}/LICENSE.txt +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/README.md +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/__init__.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_async.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_base.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_run.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_slurm.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_subprocess.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_sync.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_cases/_util.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/__init__.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_base.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_io.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_parsing.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_serialization.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/_files/_util.py +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib/py.typed +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib.egg-info/SOURCES.txt +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib.egg-info/dependency_links.txt +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib.egg-info/requires.txt +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/foamlib.egg-info/top_level.txt +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/pyproject.toml +0 -0
- {foamlib-0.6.4 → foamlib-0.6.5}/setup.cfg +0 -0
@@ -186,12 +186,10 @@ class FoamFile(
|
|
186
186
|
|
187
187
|
try:
|
188
188
|
write_header = (
|
189
|
-
not self
|
190
|
-
and "FoamFile" not in self
|
191
|
-
and (not keywords or keywords[0] != "FoamFile")
|
189
|
+
not self and "FoamFile" not in self and keywords != ("FoamFile",)
|
192
190
|
)
|
193
191
|
except FileNotFoundError:
|
194
|
-
write_header =
|
192
|
+
write_header = keywords != ("FoamFile",)
|
195
193
|
|
196
194
|
if write_header:
|
197
195
|
self["FoamFile"] = {}
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|