Skip to content

Commit

Permalink
Fix import inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianschoeppach committed Oct 14, 2024
1 parent 13bd1e3 commit b46a650
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
10 changes: 7 additions & 3 deletions src/nomad_uibk_plugin/schema_packages/sample.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
from nomad.datamodel.metainfo.basesections import CompositeSystem #CompositeSystemReference
from nomad.datamodel.data import EntryData #ArchiveSection,
from nomad.datamodel.data import EntryData #ArchiveSection,
from nomad.datamodel.metainfo.basesections import (
CompositeSystem, #CompositeSystemReference
)
from nomad.metainfo import Section


class UIBKSample(CompositeSystem, EntryData):
pass
m_def = Section()
7 changes: 3 additions & 4 deletions src/nomad_uibk_plugin/schema_packages/sputtering.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from nomad.datamodel.data import ArchiveSection, EntryData
from nomad.metainfo import Quantity, Section, SubSection
from nomad.metainfo import Section, SubSection #Quantity
from nomad_material_processing.vapor_deposition.pvd.general import PVDSource
from nomad_material_processing.vapor_deposition.pvd.sputtering import SputterDeposition

from nomad_uibk_plugin.schema_packages import UIBKCategory

from .sample import Sample
from nomad_uibk_plugin.schema_packages.sample import UIBKSample


class SputterSource(PVDSource, ArchiveSection):
Expand All @@ -21,4 +20,4 @@ class UIBKSputterDeposition(SputterDeposition, EntryData):
label = 'Sputter Deposition',
)

samples = SubSection(Sample, repeats=True)
samples = SubSection(section_def = UIBKSample, repeats=True)

0 comments on commit b46a650

Please sign in to comment.