mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 17:31:45 +00:00
FIx MVD module
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import sys
|
||||
import mvdxml_expression
|
||||
from . import mvdxml_expression
|
||||
|
||||
from xml.dom.minidom import parse, Element
|
||||
|
||||
import sparql
|
||||
|
||||
class rule(object):
|
||||
"""
|
||||
A class for representing an mvdXML EntityRule or AttributeRule
|
||||
@@ -183,6 +181,7 @@ class concept_root(object):
|
||||
if __name__ == "__main__":
|
||||
|
||||
if len(sys.argv) == 3:
|
||||
from . import sparql
|
||||
ttlfn, mvdfn = sys.argv[1:]
|
||||
sparql.derive_prefix(ttlfn)
|
||||
ttlfn = sparql.infer_subtypes(ttlfn)
|
||||
|
||||
Reference in New Issue
Block a user