Skip to content

Commit

Permalink
CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
RubelMozumder committed Dec 1, 2023
1 parent ecb891e commit a4f0a50
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pynxtools/dataconverter/readers/xrd/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
"/ENTRY[entry]/INSTRUMENT[instrument]/SOURCE[source]/k_alpha_two": {"xrdml_1.5": {"value": "/xrdMeasurements/xrdMeasurement/usedWavelength/kAlpha2",
"@units": "/xrdMeasurements/xrdMeasurement/usedWavelength/kAlpha2/unit"},
},
"/ENTRY[entry]/INSTRUMENT[instrument]/SOURCE[source]/kbeta": {"xrdml_1.5": {"value": "",
"@units": ""},
"/ENTRY[entry]/INSTRUMENT[instrument]/SOURCE[source]/kbeta": {"xrdml_1.5": {"value": "/xrdMeasurements/xrdMeasurement/usedWavelength/kBeta",
"@units": "/xrdMeasurements/xrdMeasurement/usedWavelength/kBeta/unit"},
},
"/ENTRY[entry]/INSTRUMENT[instrument]/SOURCE[source]/ratio_k_alphatwo_k_alphaone": {"xrdml_1.5": {"value": "",
"@units": ""}
Expand Down
2 changes: 1 addition & 1 deletion tests/dataconverter/test_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def listify_template(data_dict: Template):
('test', 'test'),
(['59', '3.00005', '498E-36'], np.array([59.0, 3.00005, 4.98e-34])),
('23 34 444 5000', np.array([23., 34., 444., 5000.])),
('xrd experiment','xrd experiment'),
('xrd experiment', 'xrd experiment'),
(None, None),
])
def test_transform_to_intended_dt(input_data, expected_output):
Expand Down

0 comments on commit a4f0a50

Please sign in to comment.