Skip to content

Commit f2a0fb3

Browse files
committed
fix units and tests
1 parent 6982c0a commit f2a0fb3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/sed/config/flash_example_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,8 @@ dataframe:
9393
timeStamp: 's'
9494
energy: 'eV'
9595
E: 'eV'
96-
kx: '1/A'
97-
ky: '1/A'
96+
kx: '1/angstrom'
97+
ky: '1/angstrom'
9898

9999
# The channels to load from the raw data. The channels have the following structure:
100100
# channels have the following structure:

src/sed/config/mpes_example_config.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ dataframe:
5656
timeStamp: 's'
5757
energy: 'eV'
5858
E: 'eV'
59-
kx: '1/A'
60-
ky: '1/A'
59+
kx: '1/angstrom'
60+
ky: '1/angstrom'
6161

6262
# dataframe channels and group names to read from the h5 files
6363
channels:

tests/test_processor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ def test_save(caplog) -> None:
12361236
)
12371237
assert (
12381238
caplog.messages[0]
1239-
== "ERROR: The data entry corresponding to /ENTRY[entry]/SAMPLE[sample]/name is "
1239+
== "WARNING: The data entry corresponding to /ENTRY[entry]/SAMPLE[sample]/name is "
12401240
"required and hasn't been supplied by the reader."
12411241
)
12421242
assert (

0 commit comments

Comments
 (0)