Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
ladinesa committed Dec 6, 2023
1 parent e33799d commit 9615e8f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
7 changes: 3 additions & 4 deletions runschema/calculation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,10 @@
MSection, MCategory, Category, Package, Quantity, Section, SubSection, SectionProxy,
Reference, MEnum, derived, HDF5Reference)
from nomad.datamodel.metainfo.common import ProvenanceTracker, PropertySection
from nomad.datamodel.metainfo.simulation.system import System, AtomsGroup
from nomad.datamodel.metainfo.simulation.method import Method, HoppingMatrix
from .system import System, AtomsGroup
from .method import Method, HoppingMatrix
from nomad.datamodel.data import ArchiveSection

from ..common import FastAccess
from nomad.datamodel.metainfo.common import FastAccess


m_package = Package()
Expand Down
2 changes: 1 addition & 1 deletion runschema/method.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from nomad.metainfo import ( # pylint: disable=unused-import
MSection, MCategory, Category, Package, Quantity, Section, SubSection, SectionProxy,
Reference, MEnum, derived)
from ..common import FastAccess
from nomad.datamodel.metainfo.common import FastAccess


m_package = Package()
Expand Down
6 changes: 3 additions & 3 deletions runschema/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
from nomad.metainfo import ( # pylint: disable=unused-import
MSection, MCategory, Category, Package, Quantity, Section, SubSection, SectionProxy,
Reference)
from nomad.datamodel.metainfo.simulation.method import Method
from nomad.datamodel.metainfo.simulation.system import System
from nomad.datamodel.metainfo.simulation.calculation import Calculation
from .method import Method
from .system import System
from .calculation import Calculation
from nomad.datamodel.metainfo.common import FastAccess
from nomad.datamodel.data import ArchiveSection

Expand Down
4 changes: 2 additions & 2 deletions runschema/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@
MSection, MCategory, Category, Package, Quantity, Section, SubSection, SectionProxy,
Reference, MEnum, derived)
from nomad.datamodel.data import ArchiveSection

from ..common import FastAccess
from nomad.datamodel.metainfo.common import FastAccess
from nomad.units import ureg


m_package = Package()


Expand Down

0 comments on commit 9615e8f

Please sign in to comment.