Skip to content

Commit

Permalink
small fix to irregular parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspie committed Mar 8, 2024
1 parent 8d4e029 commit 3bc72a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pynxtools_xps/vms/vamas.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def _add_irregular_data(self, block: VamasBlock):
data_dict[name] = data_array_slice
setattr(block, name, data_dict[name])

self.data = self.data[block.num_ord_values + block.no_variables :]
self.data = self.data[block.num_ord_values :] # + block.no_variables :]

def _get_scan_numbers_for_spectra(self, spectra: List[Dict]):
"""
Expand Down

0 comments on commit 3bc72a9

Please sign in to comment.