GithubHelp home page GithubHelp logo

exabyte-io / exaparser Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 228 KB

A python package converting materials modeling (eg. DFT) data on disk to a structured representation according to ESSE and ready for indexing and database storage.

License: Apache License 2.0

Python 100.00%

exaparser's People

Contributors

acylsilane avatar dependabot[bot] avatar mohammadidinani avatar timurbazhirov avatar tjduigna avatar triplepoint avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

exaparser's Issues

Testing: Integration tests are broken

Expected behavior

After following instructions for installation and testing, tests pass.

Actual behavior

The integration tests fail.

To reproduce

  1. Clone repository and follow installation instructions.
  2. Run tests with /bin/bash run-tests.sh

Traceback:

$ /bin/bash run-tests.sh 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
test_espresso_001_shell_job (test_job.TestJobParser) ... FAIL
test_vasp_001_shell_job (test_job.TestJobParser) ... FAIL

======================================================================
FAIL: test_espresso_001_shell_job (test_job.TestJobParser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sadorf/local/exabyte/exaparser/tests/integration/test_job.py", line 27, in test_espresso_001_shell_job
    self.assertDeepAlmostEqual(config, read_json(os.path.join(FIXTURES_DIR, "espresso", "shell-job.json")))
  File "tests/__init__.py", line 50, in assertDeepAlmostEqual
    raise exc
AssertionError: Items in the first set but not the second:
'isMultiMaterial'
TRACE: ROOT -> 'workflow'

======================================================================
FAIL: test_vasp_001_shell_job (test_job.TestJobParser)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/sadorf/local/exabyte/exaparser/tests/integration/test_job.py", line 35, in test_vasp_001_shell_job
    self.assertDeepAlmostEqual(config, read_json(os.path.join(FIXTURES_DIR, "vasp", "shell-job.json")))
  File "tests/__init__.py", line 50, in assertDeepAlmostEqual
    raise exc
AssertionError: Items in the first set but not the second:
'isMultiMaterial'
TRACE: ROOT -> 'workflow'

----------------------------------------------------------------------
Ran 2 tests in 0.002s

FAILED (failures=2)

Additional information

The issue appears to be related to commit 9a21bc3 which introduced the isMultimaterial key to the job workflow file, however the related fixture has not been updated.

  • Tested with 7879fe4
  • Fixtures are at 84b345b and I executed git lfs pull prior to running the tests.
  • I identified 6a0ec47 as good commit, however I believe that there are more good commits, because I am not able to run tests while requirements are pointing to the /stack path.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.