Skip to content

Commit

Permalink
Fix formatting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JosePizarro3 committed Jul 15, 2024
1 parent 6a76d1f commit a9b593a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,4 @@

from nomad import utils


logger = utils.get_logger(__name__)
3 changes: 1 addition & 2 deletions tests/old_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
# limitations under the License.
#

import pytest
import numpy as np

import pytest
from nomad.datamodel import EntryArchive
from nomad_parser_wannier90.parsers.parser import Wannier90Parser

Expand Down
6 changes: 3 additions & 3 deletions tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
# limitations under the License.
#

import pytest
import numpy as np
import os

import numpy as np
import pytest
from nomad.datamodel import EntryArchive
from nomad_parser_wannier90.parsers.parser import Wannier90Parser

Expand Down Expand Up @@ -48,7 +48,7 @@ def test_single_point_La2CuO4(parser):


def test_single_point_LK99(parser):
archive = EntryArchive()
# archive = EntryArchive()
assert True
# parser.parse(
# os.path.join(os.path.dirname(__file__), 'data/lk99_liangsi_1/k000.wout'),
Expand Down

1 comment on commit a9b593a

@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__.py8275%9–11
   band_parser.py451176%40, 66–67, 89–90, 93–94, 106–107, 112–113
   dos_parser.py18194%32
   hr_parser.py47883%45, 63–64, 76–77, 111–113
   parser.py4928882%84–138, 347–348, 388, 406, 445–446, 473, 488, 503, 545, 646–647, 706–710, 715–716, 718, 724–729, 735, 737–740, 744, 761–763, 765–766, 776–777, 791–798, 802–803, 808, 832–833, 848–849, 853, 909–913, 918, 920, 931–932, 937, 948–952, 984–988, 992, 994
   win_parser.py963069%52, 109–115, 136, 138–140, 142–143, 173–176, 181, 190–192, 202–204, 225–228, 235, 237–238, 242, 259–263
src/nomad_parser_wannier90/parsers/utils
   utils.py14379%46–48
src/nomad_parser_wannier90/schema_packages
   __init__.py8275%9–11
   package.py13130%1–30
TOTAL75716279% 

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

Please sign in to comment.