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

test_read_ice_input fails because test data have been reanmed #67

Closed
singularitti opened this issue Jun 13, 2019 · 1 comment
Closed
Labels
bug Something isn't working io Things related with input/output files of the package

Comments

@singularitti
Copy link
Member

Expected Behavior

test_read_ice_input runs through without error

Actual Behavior

test_read_ice_input runs with error

Error
Traceback (most recent call last):
  File "/Users/qz/.pyenv/versions/3.6.8/lib/python3.6/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/Users/qz/.pyenv/versions/3.6.8/lib/python3.6/unittest/case.py", line 605, in run
    testMethod()
  File "/Users/qz/.ghq/github.com/MineralsCloud/qha/qha/tests/test_read_input.py", line 27, in test_read_ice_input
    nm, volumes, static_energies, frequencies, q_weights = read_input(file_path)
  File "/Users/qz/.ghq/github.com/MineralsCloud/qha/qha/basic_io/read_input.py", line 37, in read_input
    text_stream = TextStream(pathlib.Path(inp))
  File "/Users/qz/.virtualenvs/qha-Z2YbyQSM/lib/python3.6/site-packages/text_stream/__init__.py", line 58, in __init__
    "The *inp* argument '{0}' is not a valid file!".format(inp))
FileNotFoundError: The *inp* argument '../../examples/ice VII/input_conf01' is not a valid file!

Reason

examples/ice VII/input_conf01, etc., have been renamed to examples/ice VII/input_01, etc.

Specifications

  • Version: qha 1.0.16
  • Platform: All
  • Subsystem: All
@singularitti
Copy link
Member Author

@singularitti singularitti added bug Something isn't working io Things related with input/output files of the package labels Jun 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working io Things related with input/output files of the package
Projects
None yet
Development

No branches or pull requests

1 participant