Skip to content

update python

update python #1

Workflow file for this run

name: Build and Test
on:
push:
permissions:
contents: read # to fetch code (actions/checkout)
jobs:
build_wheels:
name: ${{ matrix.os }} Wheels
runs-on: ${{ matrix.os }}
strategy:
# Ensure that a wheel builder finishes even if another fails
fail-fast: false
matrix:
os: [windows-latest, macos-latest]
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- name: Checkout ${{ github.repository }}
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Dependencies
run: pip install .
- name: Test
run: |
python -c "\
import anndata
from sketchKH import *
adata = anndata.read_h5ad('data/nk_cell_preprocessed.h5ad')
kh_indices, adata_subsample = sketch(adata, sample_set_key = 'FCS_File', gamma = 1, num_subsamples = 500, frequency_seed = 0, n_jobs = 4)
"