Skip to content

Commit

Permalink
Fix tests (#21)
Browse files Browse the repository at this point in the history
* Fix call of convert in test

* Remove lfs from pytest
  • Loading branch information
domna authored Jul 8, 2024
1 parent ffc6d14 commit 1b567ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
with:
fetch-depth: 0
submodules: recursive
lfs: true
- name: Set up Python ${{ matrix.python_version }}
uses: actions/setup-python@v4
with:
Expand Down
12 changes: 6 additions & 6 deletions tests/test_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@ def test_eln_data(tmp_path):
"""Check if the subsections in the eln_data.yml file work."""
dir_path = Path(__file__).parent / "data"
dataconverter.convert(
(
input_file=(
str(dir_path / "xarray_saved_small_calibration.h5"),
str(dir_path / "config_file.json"),
str(dir_path / "eln_data.yaml"),
),
"mpes",
"NXmpes",
os.path.join(tmp_path, "mpes.small_test.nxs"),
False,
False,
reader="mpes",
nxdl="NXmpes",
output=os.path.join(tmp_path, "mpes.small_test.nxs"),
skip_verify=False,
ignore_undocumented=False,
)

0 comments on commit 1b567ff

Please sign in to comment.