Skip to content

Commit a64977a

Browse files
committed
Schema path
1 parent 819a811 commit a64977a

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/publish-output-2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
shell: bash
116116
run: |
117117
set -euxo pipefail
118-
python -m generators.express ../schemas/IFC.xml \
118+
python -m generators.express ../schemas/ifc4x3_add2.uml \
119119
--output ../output/IFC.exp \
120120
--with-xsd \
121121
--xsd-output ../output/IFC.xsd
@@ -125,14 +125,14 @@ jobs:
125125
shell: bash
126126
run: |
127127
set -euxo pipefail
128-
python -m generators.pset ../schemas/IFC.xml --output ../output/psd
128+
python -m generators.pset ../schemas/ifc4x3_add2.uml --output ../output/psd
129129
130130
- name: Generate bSDD export
131131
working-directory: ifc43/code
132132
shell: bash
133133
run: |
134134
set -euxo pipefail
135-
python -m generators.bsdd ../schemas/IFC.xml --output ../output/bsdd
135+
python -m generators.bsdd ../schemas/ifc4x3_add2.uml --output ../output/bsdd
136136
137137
- name: Build static HTML site
138138
working-directory: ifc43/code

code/generators/util/append_xmi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ def to_id(self, *args):
300300

301301
if __name__ == "__main__":
302302

303-
c = context("..\schemas\IFC.xml")
303+
c = context(r"..\schemas\IFC.xml")
304304
ifc_package = c.package_by_name("IFC4X3_ADD2")
305305
views_package = c.insert(ifc_package, uml_package("Views"))
306306
gu_package = c.insert(views_package, uml_package("GeneralUsage"))

code/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ def make_concept(path, number_path=None, exclude_partial=True):
18221822
def create_concept_table(view_name, xmi_concept, types=None):
18231823
rows = R.xmi_concepts[view_name][xmi_concept]
18241824
bindings = [("ApplicableEntity", ("", ""))] + list(
1825-
parse_bindings(xmi_concept, fn=os.path.join(REPO_DIR, "schemas/IFC.xml"))
1825+
parse_bindings(xmi_concept, fn=os.path.join(REPO_DIR, "schemas/ifc4x3_add2.uml"))
18261826
)
18271827
bound_keys = set(sum([list(r.keys()) for r in rows], []))
18281828
bound_keys = [a[0] for a in bindings if a[0] in bound_keys]

0 commit comments

Comments
 (0)