diff --git a/src/nomad_material_processing/__init__.py b/src/nomad_material_processing/__init__.py index 68abfbc..4c1992a 100644 --- a/src/nomad_material_processing/__init__.py +++ b/src/nomad_material_processing/__init__.py @@ -353,9 +353,9 @@ def normalize(self, archive: 'EntryArchive', logger: 'BoundLogger') -> None: previous = None for step in self.steps: task = step.to_task() - task.outputs = [Link(name=step.name, section=step)] + task.outputs.append(Link(name=step.name, section=step)) if previous is not None: - task.inputs = [Link(name=previous.name, section=previous)] + task.inputs.append(Link(name=previous.name, section=previous)) tasks.append(task) previous=step archive.workflow2.tasks = tasks diff --git a/src/nomad_material_processing/physical_vapor_deposition.py b/src/nomad_material_processing/physical_vapor_deposition.py index c073c98..04000f5 100644 --- a/src/nomad_material_processing/physical_vapor_deposition.py +++ b/src/nomad_material_processing/physical_vapor_deposition.py @@ -41,6 +41,7 @@ from nomad_material_processing import ( SampleDeposition, ThinFilmStack, + ThinFilm, ) if TYPE_CHECKING: @@ -214,6 +215,12 @@ class PVDSubstrate(ArchiveSection): ''', type=ThinFilmStack, ) + thin_film = Quantity( + description=''' + The thin film that is being created during this step. + ''', + type=ThinFilm, + ) temperature = SubSection( section_def=PVDSubstrateTemperature, )