Skip to content

Commit

Permalink
fix Category
Browse files Browse the repository at this point in the history
  • Loading branch information
schumannj committed Jun 25, 2024
1 parent 4ad0a9f commit 3914913
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/nomad_unisyscat/schema_packages/mypackage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np
import plotly.express as px
from nomad.config import config
from nomad.datamodel.data import ArchiveSection, Schema
from nomad.datamodel.data import ArchiveSection, Schema, EntryDataCategory
from nomad.datamodel.metainfo.annotations import ELNAnnotation
from nomad.datamodel.metainfo.basesections import (
CompositeSystem,
Expand All @@ -18,7 +18,7 @@
)
from nomad.datamodel.metainfo.plot import PlotlyFigure, PlotSection
from nomad.metainfo import Datetime, Quantity, SchemaPackage, Section
from nomad.metainfo.metainfo import Category, MCategory, SubSection
from nomad.metainfo.metainfo import Category, SubSection
from nomad.metainfo.util import MEnum

configuration = config.get_plugin_entry_point(
Expand All @@ -35,8 +35,6 @@

m_package = SchemaPackage()

class EntryDataCategory(MCategory):
pass

class UniSysCatElnCategory(EntryDataCategory):
m_def = Category(label='UniSysCat', categories=[EntryDataCategory])
Expand Down

0 comments on commit 3914913

Please sign in to comment.