Skip to content

Commit

Permalink
update requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
parashardhapola committed Jul 26, 2024
1 parent 774e529 commit 839675b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
deploy:

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest pytest-cov topacedo anndata pcst_fast
pip install -r requirements.txt
pip install -r requirements_extra.txt
pip install pytest pytest-cov topacedo anndata pcst_fast
- name: Test with pytest
run: |
pytest --cov=.
Expand Down
4 changes: 2 additions & 2 deletions scarf/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def insert(
self,
column_name: str,
values: Union[np.ndarray, List],
fill_value: Any = np.NaN,
fill_value: Any = np.nan,
key: str = "I",
overwrite: bool = False,
location: str = "primary",
Expand All @@ -404,7 +404,7 @@ def insert(
Args:
column_name (str): Name of column to modify.
values (np.array): Values the column should contain.
fill_value (Any = np.NaN): Value to fill unassigned slots with.
fill_value (Any = np.nan): Value to fill unassigned slots with.
key (str = 'I'):
overwrite (bool = False): Should function overwrite column if it already exists?
location (str = 'primary'):
Expand Down

0 comments on commit 839675b

Please sign in to comment.