Skip to content

Commit

Permalink
Fix pytest.
Browse files Browse the repository at this point in the history
  • Loading branch information
emunozdc authored and emunozdc committed Jun 25, 2024
1 parent adaa03c commit 36de4be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous_integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
- name: Test with pytest
run: |
conda install pytest
pytest
pytest --ignore=examples
6 changes: 2 additions & 4 deletions examples/time_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,8 @@
start_loading_t = time.time()
start_loading_m = memory_usage()[0]

# !! Uncomment and modify the following two lines and remove the third one
# path = "drosophila/Drosophila_melanogaster.BDGP6.46.112.gtf" ## modify if needed
# d = pr.read_gtf(path)
d = pr.PyRanges({"Feature": []})
path = "drosophila/Drosophila_melanogaster.BDGP6.46.112.gtf" ## modify if needed
d = pr.read_gtf(path)

end_loading_t = time.time()
end_loading_m = memory_usage()[0]
Expand Down

0 comments on commit 36de4be

Please sign in to comment.