Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-pylinting -tools: yaml2nxdl; nxdl2yaml -tools: dataconverter + readers for (MPES;Ellips;APM;EM) -reference NeXus definitions with new classes * Skeleton setup to start development * Added documentation and diagram to show convert routine. * Created a reader notebook for metadata * Made changes to the reader function A basic structure for the reader function. * Added the reader function to a class. * Skeleton setup to start development * Added documentation and diagram to show convert routine. * Added writer functionality * Updated docs * first commit, create yaml2nxdl folder * upload of yaml2nxdl files from Markus K. * Update README.md * removal of lxml, extension of README.md, bug fixes * deletion of old files * bug fixes, test folder generated * test data added and testing case started * fixed xml header * nested symbols tested and fixed, xml stylesheet added * bug fixes, testing cases for links ans symbols * Update yaml2nxdl.py documentation, transfer of issues detected by @mkuehbach * Update yaml2nxdl.py minor * Update yaml2nxdl_recursive_build.py added fixes from @mkuehbach * Update README.md added documentation * Update README.md typos and restructuring based on most relevant points first * sintax error fixed in yaml2nxdl.py, exception added for xml_declaration not supported in python<=3.7 * changed xml output filename, created get_nx_classes function in read_nexus * updated the reader function. * yaml2nxdl_utils update * Quick fix for NX_UNITLESS * changed format to .py * codestyle modification * codestyle mod #2 * codestyle mod #3 * codestyle mod 4 * codestyle mod 5 * definitions from fork * codestyle mod 6 * nexus definition submodule * Removing install errors and updated Readme.md to include recursive git clone * Added @Units detail to Readme.md * Added tests * new documentation handling * Quick fix to accept nxdl names with underscores * pylint warning fixes * Uploaded dummy preprocessed data file Data file with normal structure of the .h5 output of our preprocessing routine, but only 2D data to perfectly match the application definition. * A working structure for the reader. A few custom changes in the repo in this branch have been made for it to work in my PC (windows). Clone this version to get proper functionality. * fixed path in read_nexus to access the nxdl. * import fixes * solved some pylint warnings * Throws error when attributes couldn't be found and lists the path * pylint warnings * pylinting true in setting.json * added a test for Nexus classes, attributes, units in /tests/test_nexus * Changed path concatenation to use the os module * Renamed read_nexus.py to nexus.py * Fix writing NX_CLASS attribute to NX_class * migrated read_nexus to nexus in yaml2nxdl * fixed bug for \@ attribute identifiers * pylint compliant modification * fixed bug with attribute documentation, added --verbose option * yaml2ndxl tests updated, doc strings style changed * updated test files * minor changes to doc strings * A save in between * Removed lxml and improved func to get nxdl attrs * yaml2nxdl base classes parsing * Added data and type validation * adding nxdl2yaml tool, updated README.md * changed argument parsing in nxdl2yaml - updated README * Allowed lists as values for data_dict, type validation for lists, automated readers pytest * added tests for nxdl2yaml * Added tests for helper functions and quick fix for data validation * partial linting of nexusparser tools * pylinting * Fixed issue with recommended check and added NX_UINT types * Allowed optional values from readers to be sent back as None * Fixed double import on test file and various fixes * Added test cases for optional and recommended not given * Added support for local timezones in iso8601 with tests * yaml2nxdl keyword_type and verbose fix * Added reader functionality for a test file * test_parser and yaml2nxdl NX_COMPLEX fixes * running version of nexus converter added test files to tests folder x * further pylinting - overall code rate 9.69 * Allowed complete optional groups to be left out from filled in dict. * merged nexus.py of yaml2nxdl branch, and fixed bug in get_nxdl_doc * add xarray as requirement bugfixes in test data and config_file. Output of current version can be checked against nexus.py tool * add .gitignore and clean up repository * finish cleanup * Fixed W503 * Quick fix with Andrea * Fixed a few paths in nexus.py for windows * Em and apm reader (#7) * Sprint5 result, apm and em_nion readers * Provided NXDL xml files for them to be moved into nexusparser/dependencies/applications directory * Fixed specific versions for odfpy and ase * Fixed typo while fixing specific versions for odfpy and ase * Deleted NXDL schema, will be send via e-mail * Removed incorrect exceptions from reader.py * Working mpes reader * README update * pytest settings settings.json * Working ellipsometry reader * test_parser fixes * Fixed test_parser, test_nexus * Requirements.txt * Fixed tests after merge * Skipped ApmReader and EmNionReader from pytest * Added odfpy and ase as requirements for ApmReader/EmNionReader * reference the new fairmat branch * Fixed pytest-timeout requirement version * Changed Ellipsometry data to one without embargo * Updated definitions submodule to include NXcollectioncolumn.nxdl * jupyter notebook for ellipsometry * Fixes on apm and em_nion readers for issue91_demo * adjust paths to new file location * load own nxs file into h5web * Apm and Em jupyter notebooks, paths for EM do not work for now, EM.ipynb NEEDS TO BE EXECUTED from within / ! Co-authored-by: Sherjeel Shabih <[email protected]> Co-authored-by: Arora0 <[email protected]> Co-authored-by: Aman Abdullayev <[email protected]> Co-authored-by: Markus Kühbach <[email protected]> Co-authored-by: sanbrock <[email protected]> Co-authored-by: Tommaso <[email protected]> Co-authored-by: Laurenz Rettig <[email protected]> Co-authored-by: Carola Emminger <[email protected]> Co-authored-by: kuehbachm <[email protected]>
- Loading branch information