Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Commit 8341931

Browse files
committed
Reformat commenting, remove prints, and remove BrickStore.project
1 parent 81a4ff7 commit 8341931

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

src/blenderbim/blenderbim/tool/brick.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -319,24 +319,21 @@ def redo_brick(cls):
319319
@classmethod
320320
def serialize_brick(cls, file_name):
321321
#temporary file path, could either be user selected for "save as" or use the BrickStore.path for simply "save"
322-
print("Serializing: \"" + file_name + "\" ... ")
323322
cwd = os.path.dirname(os.path.realpath(__file__))
324323
dest = os.path.join(cwd, "..", "bim", "schema", file_name)
325324
BrickStore.get_project().serialize(destination=dest, format="turtle")
326-
print("finished!")
327325

328326
class BrickStore:
329327
schema = None # this is now a os path
330-
graph = None # this is the VersionedGraphCollection with 2 arbitrarily named graphs: "schema" and "project"
331-
# "schema" holds the Brick.ttl metadata; "project" holds all the authored entities
332-
project = None # this is the graph named "project" from the VersionedGraphCollection
333-
path = None
328+
path = None # file path if the project was loaded in
329+
graph = None # this is the VersionedGraphCollection with 2 arbitrarily named graphs: "schema" and "project"
330+
# "SCHEMA" holds the Brick.ttl metadata; "PROJECT" holds all the authored entities
331+
334332

335333
@staticmethod
336334
def purge():
337335
BrickStore.schema = None
338336
BrickStore.graph = None
339-
BrickStore.project = None
340337
BrickStore.path = None
341338

342339
@classmethod

0 commit comments

Comments
 (0)