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

An example for the test of command line ALM required #11

Open
2 of 5 tasks
atztogo opened this issue Oct 1, 2018 · 2 comments
Open
2 of 5 tasks

An example for the test of command line ALM required #11

atztogo opened this issue Oct 1, 2018 · 2 comments

Comments

@atztogo
Copy link
Contributor

atztogo commented Oct 1, 2018

Writing tests using API is not the issue here. Some test of command line interface is needed to ease the check. The last one can be shared with the test for API. Any idea?

  • Input files: alamode/example/Si is OK for the first example
  • A short document how to run and test: can be extracted from ALAMODE tutorial with small modification
  • A shell script to run the test
  • Parsers of .fcs and .xml files
  • A (python?) script to assert data in .fcs and .xml files HDF5.
@ttadano ttadano changed the title An example for the test of command ilne ALM required An example for the test of command line ALM required Oct 1, 2018
@ttadano
Copy link
Owner

ttadano commented Oct 1, 2018

Probably, just comparing two .fcs files by diff command would be sufficient as a first step. In this case, we don't have to implement a parser for the .fcs file.

Making a parser of the .xml file is easy (if I can use a python XML parser), but it may waste our time because the XML force constant format is very likely to be replaced with HDF5 shortly.

@atztogo
Copy link
Contributor Author

atztogo commented Oct 1, 2018

Numerical results can be very slightly different among computing systems. So diff doesn't work in general. HDF5 will be helpful. I will do the jobs above after HDF5 appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants