SimbioReader 0.6.5__tar.gz → 0.7.0__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.
- {simbioreader-0.6.5 → simbioreader-0.7.0}/PKG-INFO +2 -2
- {simbioreader-0.6.5 → simbioreader-0.7.0}/README.md +1 -1
- {simbioreader-0.6.5 → simbioreader-0.7.0}/pyproject.toml +1 -1
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/constants.py +1 -1
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/sr.py +8 -1
- {simbioreader-0.6.5 → simbioreader-0.7.0}/LICENSE +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/__init__.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/__main__.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/cli.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/exceptions.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/filters.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/filters_tools.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/infocli.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/phases.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/simbioInfo.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/subphases.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/tests.py +0 -0
- {simbioreader-0.6.5 → simbioreader-0.7.0}/src/SimbioReader/tools.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: SimbioReader
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Python Reader for the data from SIMBIO-SYS instrument suite on-board the ESA mission BepiColombo
|
|
5
5
|
License-File: LICENSE
|
|
6
6
|
Keywords: data reader,Space Mission,BepiColombo,SIMBIO-SYS
|
|
@@ -23,7 +23,7 @@ Requires-Dist: update-checker (>=0.18.0,<0.19.0)
|
|
|
23
23
|
Project-URL: Repository, https://github.com/SIMBIO-SYS/SimbioReader
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
26
|
-

|
|
27
27
|

|
|
28
28
|

|
|
29
29
|
[](https://github.com/SIMBIO-SYS/SimbioReader/actions/workflows/test.yml)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
2
2
|

|
|
3
3
|

|
|
4
4
|
[](https://github.com/SIMBIO-SYS/SimbioReader/actions/workflows/test.yml)
|
|
@@ -19,7 +19,7 @@ CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
|
|
|
19
19
|
progEpilog = "- For any information or suggestion please contact " \
|
|
20
20
|
"[bold magenta]Romolo.Politi@inaf.it[/bold magenta]"
|
|
21
21
|
|
|
22
|
-
VERSION = (0,6,2,'f',1)
|
|
22
|
+
# VERSION = (0,6,2,'f',1)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
datamodel='1.22.0.0'
|
|
@@ -843,6 +843,13 @@ class SimbioReader:
|
|
|
843
843
|
return disp
|
|
844
844
|
return None
|
|
845
845
|
|
|
846
|
+
def get_filters(self) -> list:
|
|
847
|
+
filters = []
|
|
848
|
+
for item in self.data.filters:
|
|
849
|
+
disp = getattr(self.data, f"filter_{item.lower()}")
|
|
850
|
+
filters.append(disp)
|
|
851
|
+
return filters
|
|
852
|
+
|
|
846
853
|
def get_segment_by_file(self, file_name: Path) -> SimbioObject | None:
|
|
847
854
|
if isinstance(file_name, str):
|
|
848
855
|
file_name = Path(file_name)
|
|
@@ -910,7 +917,7 @@ class SimbioReader:
|
|
|
910
917
|
new_lid = lidUpdate(tree, new_label, calib=calib)
|
|
911
918
|
creatTime = datetime.now()
|
|
912
919
|
updateXML(tree, "modification_date", creatTime.strftime("%Y-%m-%d"), idx=0)
|
|
913
|
-
file_version = new_filename.split("__")[1].split(".")[0]
|
|
920
|
+
file_version = str(new_filename).split("__")[1].split(".")[0]
|
|
914
921
|
file_version = file_version.replace("_", ".")
|
|
915
922
|
updateXML(tree, "version_id", file_version, idx=0)
|
|
916
923
|
updateXML(tree, "version_id", file_version, idx=1)
|
|
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
|