Skip to content

Commit

Permalink
fix verbose bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Licini committed Jul 30, 2024
1 parent d6e2f68 commit e44983f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

* Fixed `verbose` bug.

### Removed


Expand Down
3 changes: 2 additions & 1 deletion src/compas_ifc/file.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@

class IFCFile(object):
def __init__(self, model, filepath=None, schema="IFC4", use_occ=False, load_geometries=True, verbose=True):

self.verbose = verbose
self.ensure_classes_generated()
self._entitymap = {}
self._geometrymap = {}
Expand All @@ -30,7 +32,6 @@ def __init__(self, model, filepath=None, schema="IFC4", use_occ=False, load_geom
self.filepath = filepath
self.model = model
self.use_occ = use_occ
self.verbose = verbose
if filepath is None:
self._file = ifcopenshell.file(schema=schema)
if self.verbose:
Expand Down

0 comments on commit e44983f

Please sign in to comment.