Skip to content

Commit 67b0d47

Browse files
committed
Try fix
1 parent fa08b76 commit 67b0d47

File tree

1 file changed

+9
-1
lines changed
  • src/nomad_simulation_parsers/parsers/fhiaims

1 file changed

+9
-1
lines changed

src/nomad_simulation_parsers/parsers/fhiaims/parser.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,18 @@
4343
from nomad_simulation_parsers.schema_packages import fhiaims
4444

4545
from .common import ControlParser, GeometryParser
46+
from nomad.utils import get_logger
47+
48+
49+
LOGGER = get_logger(__name__)
4650

4751

4852
class FHIAimsOutMappingParser(TextMappingParser):
53+
# TODO temporary fix for structlog unable to propagate logger
54+
@property
55+
def logger(self):
56+
return LOGGER
57+
4958
_gw_flag_map = {
5059
'gw': 'G0W0',
5160
'gw_expt': 'G0W0',
@@ -310,7 +319,6 @@ def get_sections(self, source: dict[str, Any], **kwargs) -> list[dict[str, Any]]
310319
result.append(res)
311320
return result
312321

313-
314322
class FHIAimsArchiveWriter(ArchiveWriter):
315323
annotation_key: str = 'text'
316324
geometry_parser = GeometryParser()

0 commit comments

Comments
 (0)