Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Jun 24, 2022
1 parent 1b4032d commit a65eb1c
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions apis/python/README-dev.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
* Most things are configured using GitHub Actions at `../../.github/workflows`
* Pre-push suggestions:
* `black .`
* `isort .`
* `flake8`
* `python -m pytest tests`
* PyPI:
* https://pypi.org/project/tiledbsc/
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/annotation_dataframe.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import List, Optional, Set, Tuple

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/annotation_matrix.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import Optional, Tuple

import pandas as pd
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/annotation_matrix_group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os
from typing import Dict, List, Optional

Expand Down
3 changes: 2 additions & 1 deletion apis/python/src/tiledbsc/annotation_pairwise_matrix_group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os
from typing import Dict, List, Optional

Expand Down Expand Up @@ -136,7 +137,7 @@ def to_dict_of_csr(
grp = tiledb.Group(self.uri, mode="r", ctx=self._ctx)
except tiledb.TileDBError:
pass
if grp == None:
if grp is None:
logging.info(f"{self._indent}{self.uri} not found")
return {}

Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/assay_matrix.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import math
import time
from typing import Optional, Tuple, Union
Expand Down
2 changes: 2 additions & 0 deletions apis/python/src/tiledbsc/io.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import logging

import anndata as ad
import scanpy
import tiledb
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/raw_group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import Optional

import anndata as ad
Expand Down
2 changes: 1 addition & 1 deletion apis/python/src/tiledbsc/soma.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import logging
import os
from typing import Dict, List, Optional

import pandas as pd
import tiledb
import logging

from .annotation_dataframe import AnnotationDataFrame
from .annotation_matrix_group import AnnotationMatrixGroup
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/soma_collection.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import List, Optional

import tiledb
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/tiledb_group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import Dict, List, Optional

import tiledb
Expand Down
1 change: 0 additions & 1 deletion apis/python/src/tiledbsc/tiledb_object.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os
from typing import Dict, List, Optional

import tiledb
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/uns_array.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
from typing import Optional

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions apis/python/src/tiledbsc/uns_group.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import logging
import os
from typing import Dict, List, Optional

Expand Down
3 changes: 1 addition & 2 deletions apis/python/tools/ingestor
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ URIs will be supported.
"""

import argparse
import logging
import os
import shutil
import sys
Expand All @@ -24,8 +25,6 @@ import tiledbsc
import tiledbsc.io
import tiledbsc.util

import logging


# ================================================================
def main():
Expand Down
1 change: 1 addition & 0 deletions apis/python/tools/outgestor
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import argparse
import os
import sys
import logging

import tiledb

Expand Down

0 comments on commit a65eb1c

Please sign in to comment.