Skip to content

Commit

Permalink
fix for the new normalisation function
Browse files Browse the repository at this point in the history
  • Loading branch information
sanbrock committed Dec 19, 2024
1 parent 9f0b992 commit a70fa1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pynxtools/nomad/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
InstrumentReference,
Measurement,
)
from nomad.datamodel.metainfo.workflow import Task
from nomad.datamodel.metainfo.workflow import Link, Task, Workflow
from nomad.metainfo import (
Attribute,
Bytes,
Expand Down Expand Up @@ -140,7 +140,7 @@ def normalize(self, archive, logger):
self.method = self.m_def.name + " Experiment"
except (AttributeError, TypeError):
pass
super(Activity, self).normalize(archive, logger)
super(basesections.Activity, self).normalize(archive, logger)

if archive.results.eln.methods is None:
archive.results.eln.methods = []
Expand Down

0 comments on commit a70fa1e

Please sign in to comment.