Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Oct 10, 2024
1 parent 3ad832d commit ced437d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ maintainers = [
license = { file = "LICENSE" }
dependencies = [
"nomad-lab@git+https://gitlab.mpcdf.mpg.de/nomad-lab/nomad-FAIR.git@6b7149a71b2999abbb2225fcb67a5acafc811806",
"nomad-simulations@git+https://github.com/nomad-coe/nomad-simulations.git@0732ea7c9d4c5afcc8b01e3dbfd9235cfc7ffe4c",
"nomad-simulations@git+https://github.com/nomad-coe/nomad-simulations.git@7f4648808708d60d97bc3c29c566e04a1f63f7f1",
]

[project.urls]
Expand Down
1 change: 0 additions & 1 deletion src/nomad_parser_wannier90/parsers/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,6 @@ def parse(
dft_plus_tb_archive = self._child_archives.get(
'DFTPlusTB_workflow'
)
print(dft_archive, self.archive)
dft_plus_tb = parse_dft_plus_tb_workflow(
dft_archive=dft_archive, tb_archive=self.archive
)
Expand Down
3 changes: 1 addition & 2 deletions src/nomad_parser_wannier90/parsers/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import os
from glob import glob

from nomad.datamodel.metainfo.workflow_new import TaskReference
from nomad.datamodel.metainfo.workflow_new import TaskReference2 as TaskReference
from nomad_simulations.schema_packages.workflow import DFTPlusTB


Expand Down Expand Up @@ -57,7 +57,6 @@ def parse_dft_plus_tb_workflow(

if not dft_archive.workflow2 or not tb_archive.workflow2:
return
print(dft_archive.workflow2, tb_archive.workflow2)

dft_task = dft_archive.workflow2
tb_task = tb_archive.workflow2
Expand Down

1 comment on commit ced437d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/nomad_parser_wannier90
   __init__.py4250%3–4
   _version.py11282%5–6
src/nomad_parser_wannier90/parsers
   __init__.py10280%24–26
   band_parser.py511571%4, 24, 50–51, 73–74, 77–78, 85–89, 98–99, 104–105
   dos_parser.py18194%13
   hr_parser.py48981%4, 28, 46–47, 59–60, 94–96
   parser.py2153086%8–9, 208, 262–263, 303, 360–361, 378, 395, 412, 468–471, 501, 533–581
   win_parser.py1082081%5, 35–36, 65, 162, 169–171, 210, 221–222, 252–255, 262, 264–265, 269, 286–290
src/nomad_parser_wannier90/parsers/utils
   utils.py271159%4, 35–37, 56–74
src/nomad_parser_wannier90/schema_packages
   __init__.py8275%9–11
   package.py550%1–11
TOTAL5069980% 

Tests Skipped Failures Errors Time
2 0 💤 0 ❌ 0 🔥 14.587s ⏱️

Please sign in to comment.