sgf-parser 0.0.1b2__tar.gz → 0.0.1b3__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.
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/PKG-INFO +1 -1
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/pyproject.toml +1 -1
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method.py +4 -4
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/LICENSE +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/README.md +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/__init__.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/datetime_parser.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/__init__.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_cpt.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_dt.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_rp.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_srs.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_svt.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_tot.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_type.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/method_wst.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/models/types.py +0 -0
- {sgf_parser-0.0.1b2 → sgf_parser-0.0.1b3}/src/sgf_parser/parser.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: sgf-parser
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.1b3
|
|
4
4
|
Summary: Parser for the Swedish Geotechnical Society / Svenska Geotekniska Föreningen (SGF) data format
|
|
5
5
|
Home-page: https://github.com/norwegian-geotechnical-institute/sgf-parser
|
|
6
6
|
License: MIT
|
|
@@ -15,7 +15,7 @@ exclude = '''
|
|
|
15
15
|
|
|
16
16
|
[tool.poetry]
|
|
17
17
|
name = "sgf-parser"
|
|
18
|
-
version = "0.0.
|
|
18
|
+
version = "0.0.1b3"
|
|
19
19
|
description = "Parser for the Swedish Geotechnical Society / Svenska Geotekniska Föreningen (SGF) data format"
|
|
20
20
|
license = "MIT"
|
|
21
21
|
authors = ["Jostein Leira <jostein@leira.net>"]
|
|
@@ -57,11 +57,11 @@ class MethodData(BaseModel, abc.ABC):
|
|
|
57
57
|
_code, _rest = cls._extract_comment_code(data)
|
|
58
58
|
data["K"] = _code
|
|
59
59
|
if _rest:
|
|
60
|
-
if
|
|
61
|
-
data["T"] = f"{_rest}, {data['T']}"
|
|
62
|
-
else:
|
|
60
|
+
if "T" not in data:
|
|
63
61
|
data["T"] = _rest
|
|
64
|
-
|
|
62
|
+
else:
|
|
63
|
+
data["T"] = f"{_rest}, {data['T']}"
|
|
64
|
+
|
|
65
65
|
return data
|
|
66
66
|
|
|
67
67
|
# "K": "comment_code", # "comment_code"
|
|
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
|