Skip to content

Commit

Permalink
Move workflow (#44)
Browse files Browse the repository at this point in the history
* mv ruff into workflows dir

* minor edit to dev install instructions

* Style fixes by Ruff

---------

Co-authored-by: Adamtaranto <[email protected]>
  • Loading branch information
Adamtaranto and Adamtaranto authored Sep 20, 2024
1 parent 5e9d72c commit 20646b0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ This will install the oxli library. Right now there is only
You can also try building it yourself and using it in development mode:
```
mamba env create -f environment.yml -n oxli
pip install -e .
pip install -e '.[test]'
```

## Documentation
Expand Down
3 changes: 2 additions & 1 deletion src/python/tests/test_basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def test_get_hash_array():
), "Hash array counts should match the counts of 'AAA' and 'AAC' and return zero for 'GGG'."
assert rev_counts == [0, 1, 2], "Count should be in same order as input list"


def test_get_array():
"""
Get vector of counts corresponding to vector of kmers.
"""
pass
pass
4 changes: 2 additions & 2 deletions src/python/tests/test_kmer_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@


def test_kmermap():
'''Test option to add kmermap'''
pass
"""Test option to add kmermap"""
pass
14 changes: 9 additions & 5 deletions src/python/tests/test_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,25 @@


def test_serialise():
'''Serialise object to JSON '''
"""Serialise object to JSON"""
pass


def test_deserialise():
'''Load object from file.'''
"""Load object from file."""
pass


def test_dump():
'''Write tab delimited kmer:count pairs'''
"""Write tab delimited kmer:count pairs"""
pass


def test_dump_hash():
'''Write tab delimited hash_count pairs '''
"""Write tab delimited hash_count pairs"""
pass


def test_histo():
'''Write frequency counts.'''
"""Write frequency counts."""
pass
1 change: 1 addition & 0 deletions src/python/tests/test_setops.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from test_basic import create_sample_kmer_table


# Set operations
def test_union():
table1 = create_sample_kmer_table(3, ["AAA", "AAC"])
Expand Down

0 comments on commit 20646b0

Please sign in to comment.