Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xrd reader integration #179

Merged
merged 34 commits into from
Dec 3, 2023
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
9f12920
added xrd_parser.py from Pepe's plugin
budschi Sep 6, 2023
9bc2fa8
General skelaton for xrd reader.
RubelMozumder Sep 6, 2023
9237524
RB
RubelMozumder Dec 1, 2023
cfb3176
RB
RubelMozumder Nov 24, 2023
812db40
RB
RubelMozumder Nov 24, 2023
3923259
Adding fixing ci.
RubelMozumder Nov 27, 2023
c9cdb0c
RB-2
RubelMozumder Dec 1, 2023
95309f7
removing x-ray utils in from xrd reader.
RubelMozumder Nov 28, 2023
3733bfd
adding Sherejeel PR review.
RubelMozumder Nov 28, 2023
ed43bb6
Removing some code.
RubelMozumder Nov 28, 2023
8a574b5
Update pynxtools/dataconverter/template.py
RubelMozumder Nov 29, 2023
b0a0293
Adds get function in Template to proxy __getitem__
sherjeelshabih Nov 29, 2023
3bc7ee0
update.
RubelMozumder Nov 29, 2023
844fe27
moving to the old code.
RubelMozumder Nov 29, 2023
8814d70
removing get_file_obj()
RubelMozumder Nov 29, 2023
3968185
ci
RubelMozumder Nov 29, 2023
41d9f6a
Adding test.
RubelMozumder Nov 29, 2023
015fd2f
adding test for tranform_to_intended_data.
RubelMozumder Nov 29, 2023
9217853
remove sts.
RubelMozumder Nov 29, 2023
41a5032
updating nxdl_path to nxdl_f_path.
RubelMozumder Nov 29, 2023
ecded84
CI
RubelMozumder Nov 29, 2023
a4deca0
fix unit.
RubelMozumder Nov 30, 2023
1a540b7
update
RubelMozumder Nov 30, 2023
f3df203
update readme file.
RubelMozumder Nov 30, 2023
a479519
RB-3
RubelMozumder Dec 1, 2023
01289f3
Including lukus sugestion.
RubelMozumder Dec 1, 2023
01c340b
CI/CD
RubelMozumder Dec 1, 2023
7f003fe
CI/CD
RubelMozumder Dec 1, 2023
49daf29
updating READ me file.
RubelMozumder Dec 1, 2023
325db79
Updating link.
RubelMozumder Dec 1, 2023
c092ec9
dev-requirements.txt
RubelMozumder Dec 1, 2023
80fe59a
Adding test file for nexus.
RubelMozumder Dec 2, 2023
9a01382
Test file.
RubelMozumder Dec 2, 2023
234692b
Updating mpes test according to application definition.
RubelMozumder Dec 3, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
CI
  • Loading branch information
RubelMozumder committed Dec 1, 2023
commit ecded84421c57d4cc2cadc04cc0ee4cb17f7cf91
2 changes: 1 addition & 1 deletion pynxtools/dataconverter/convert.py
Original file line number Diff line number Diff line change
@@ -233,7 +233,7 @@ def convert(input_file: Tuple[str, ...],
path
)
helpers.add_default_root_attributes(data=data, filename=os.path.basename(output))
Writer(data=data, nxdl_path=nxdl_f_path, output_path=output).write()
Writer(data=data, nxdl_f_path=nxdl_f_path, output_path=output).write()

logger.info("The output file generated: %s", output)

2 changes: 1 addition & 1 deletion tests/dataconverter/test_convert.py
Original file line number Diff line number Diff line change
@@ -112,7 +112,7 @@ def test_cli(caplog, cli_inputs):
def test_links_and_virtual_datasets(tmp_path):
"""A test for the convert CLI to check whether a Dataset object is created,

when the template contains links."""
when the template contains links."""
move_xarray_file_to_tmp(tmp_path)

dirpath = os.path.join(os.path.dirname(__file__),