Lucy-Forrest-Lab / Lucy-Forrest-Lab/HDXer

Assertion errors on pytest

Open
#12 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
21
Forks
9
PR merge metrics
No merged PRs in 30d

Description

Hi,

I tried setting up HDXer on an Ubuntu 22.04.5 LTS using your instructions on GitHub (https://github.com/Lucy-Forrest-Lab/HDXer [github.com]), but ran into some errors when running 'pytest -v' with 3 failed tests.

============================================== short test summary info ==============================================
FAILED HDXer/tests/test_reweighting.py::test_run_no_reweight_1 - assert False
FAILED HDXer/tests/test_reweighting_functions.py::test_calc_trial_dfracs - assert 0.10264717813333453 == 0.1026471781333345
FAILED HDXer/tests/test_reweighting_functions.py::test_calc_work - assert 2.2941380349223457 == 2.294138034922346
=========================================== 3 failed, 15 passed in 56.72s ===========================================

They all look to be assertion errors. I have attached a log file with all commands typed, the test initiation and output. I have also attached a list of all dependencies installed in the Conda environment (installed using suggested install instructions on GitHub).

I would appreciate any and all help.

Best wishes,
G

HDXer dependencies.txt
HDXer install error.txt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running pytest -v and reviewing HDXer/tests/test_reweighting.py::test_run_no_reweight_1, HDXer/tests/test_reweighting_functions.py::test_calc_trial_dfracs, and test_calc_work alongside the attached logs and dependency list. Determine why these assertions fail in the reported Ubuntu and Conda environment; done means the failing tests are addressed and the suite passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.