Skip to content

Commit

Permalink
Adds additional mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jan 19, 2024
1 parent 3b04d23 commit 73728f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions pynxtools/dataconverter/readers/mpes/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ def iterate_dictionary(dic, key_string):
"ELECTRONANALYSER[electronanalyser]/RESOLUTION[spatial_resolution]": (
"ELECTRONANALYSER[electronanalyser]/spatial_resolution"
),
"SAMPLE[sample]/gas_pressure": "INSTRUMENT[instrument]/pressure_gauge/value",
"SAMPLE[sample]/temperature": (
"INSTRUMENT[instrument]/MANIPULATOR[manipulator]/temperature_sensor/value"
),
}


Expand Down
1 change: 0 additions & 1 deletion tests/data/dataconverter/readers/mpes/config_file.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@
"value": "@attrs:metadata/file/KTOF:Lens:Sample:V",
"value/@units": "V"
},

"depends_on": "/entry/instrument/manipulator/transformations/trans_z",
"TRANSFORMATIONS[transformations]": {
"AXISNAME[trans_z]": -0.32,
Expand Down

0 comments on commit 73728f7

Please sign in to comment.