mustrd 0.3.1a4__py3-none-any.whl → 0.3.1a5__py3-none-any.whl
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.
- mustrd/spec_component.py +4 -2
- {mustrd-0.3.1a4.dist-info → mustrd-0.3.1a5.dist-info}/METADATA +1 -1
- {mustrd-0.3.1a4.dist-info → mustrd-0.3.1a5.dist-info}/RECORD +6 -6
- {mustrd-0.3.1a4.dist-info → mustrd-0.3.1a5.dist-info}/LICENSE +0 -0
- {mustrd-0.3.1a4.dist-info → mustrd-0.3.1a5.dist-info}/WHEEL +0 -0
- {mustrd-0.3.1a4.dist-info → mustrd-0.3.1a5.dist-info}/entry_points.txt +0 -0
mustrd/spec_component.py
CHANGED
@@ -848,7 +848,9 @@ def _get_spec_component_spade_edn_group_source_when(spec_component_details: Spec
|
|
848
848
|
|
849
849
|
if step_type == Keyword("sparql-file"):
|
850
850
|
try:
|
851
|
-
|
851
|
+
# Resolve the file path relative to the EDN file's location
|
852
|
+
resolved_step_file = Path(absolute_file_path).parent / step_file
|
853
|
+
with open(resolved_step_file, 'r') as sparql_file:
|
852
854
|
sparql_query = sparql_file.read()
|
853
855
|
|
854
856
|
# Assume the individuals are ConstructSparql queries
|
@@ -860,7 +862,7 @@ def _get_spec_component_spade_edn_group_source_when(spec_component_details: Spec
|
|
860
862
|
)
|
861
863
|
when_specs.append(when_spec)
|
862
864
|
except FileNotFoundError:
|
863
|
-
raise ValueError(f"SPARQL file not found: {
|
865
|
+
raise ValueError(f"SPARQL file not found: {resolved_step_file}")
|
864
866
|
|
865
867
|
spec_component.file = str(absolute_file_path)
|
866
868
|
spec_component.groupId = group_id
|
@@ -19,14 +19,14 @@ mustrd/mustrdRdfLib.py,sha256=1dYoyohjDhonKItYMNkFybySFt9lgez3zYN2kU9mW-I,2369
|
|
19
19
|
mustrd/mustrdTestPlugin.py,sha256=hbYo8i1j4uFuRekXGd4Mnjt9wkSgQrS5o809xtbcLgs,19664
|
20
20
|
mustrd/namespace.py,sha256=1l8RJDFI7rYkWvmRokaTvSvqrDJEdRNIkq3lmPb0xpI,3854
|
21
21
|
mustrd/run.py,sha256=5xZUgKPMBQ-03cWROAnwtbOs2Nb0Vat6n8Fi6EyfS-k,4257
|
22
|
-
mustrd/spec_component.py,sha256=
|
22
|
+
mustrd/spec_component.py,sha256=515XqP4Wc_TVaCOSswxTJM5i00bnuXvJZyEYa0N9_-o,38627
|
23
23
|
mustrd/steprunner.py,sha256=dRdh9EaGhrEmIw9k52eJk-5hcQDjZTpr_A__oIkR-1E,10332
|
24
24
|
mustrd/templates/md_ResultList_leaf_template.jinja,sha256=IzwZjliCx7-viipATDQK6MQg_5q1kLMKdeNSZg1sXXY,508
|
25
25
|
mustrd/templates/md_ResultList_template.jinja,sha256=_8joJ7vtw_qoqxv3HhUtBgRfhOeqmgfaRFwEo4MROvQ,203
|
26
26
|
mustrd/templates/md_stats_template.jinja,sha256=96W62cMWu9UGLNv65ZQ8RYLjkxKHhJy-FlUtXgud6XY,155
|
27
27
|
mustrd/utils.py,sha256=OGdLvw7GvjrFgTJo0J97Xwdh-_ZgSmapmOistrEchO0,1387
|
28
|
-
mustrd-0.3.
|
29
|
-
mustrd-0.3.
|
30
|
-
mustrd-0.3.
|
31
|
-
mustrd-0.3.
|
32
|
-
mustrd-0.3.
|
28
|
+
mustrd-0.3.1a5.dist-info/LICENSE,sha256=r8nmh5fUct9h2w8_RDl13EIscvmwCLoarPr1kg35MnA,1078
|
29
|
+
mustrd-0.3.1a5.dist-info/METADATA,sha256=r1qxmsW3h3r_cZPl0uYzmoaY897NNkZYjPe1LSVev4E,4109
|
30
|
+
mustrd-0.3.1a5.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
31
|
+
mustrd-0.3.1a5.dist-info/entry_points.txt,sha256=v7V7sN0_L1aB4Ug_9io5axlQSeJ1C0tNrQWwdXdV58s,50
|
32
|
+
mustrd-0.3.1a5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|