Skip to content

Commit

Permalink
code-review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkerl committed Apr 12, 2024
1 parent 746a2cd commit 0ea2cf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/python/src/tiledbsoma/io/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ def _write_dataframe_impl(
if ingestion_params.error_if_already_exists:
raise SOMAError(f"{soma_df.uri} already exists")

soma_df = _factory.open(df_uri, "w", soma_type=DataFrame, context=context)
soma_df = DataFrame.open(df_uri, "w", context=context)

if ingestion_params.skip_existing_nonempty_domain:
storage_ned = _read_nonempty_domain(soma_df)
Expand Down Expand Up @@ -2757,7 +2757,7 @@ def _ingest_uns_ndarray(
context=context,
)
except AlreadyExistsError:
soma_arr = _factory.open(arr_uri, "w", soma_type=DenseNDArray, context=context)
soma_arr = DenseNDArray.open(arr_uri, "w", context=context)

# If resume mode: don't re-write existing data. This is the user's explicit request
# that we not re-write things that have already been written.
Expand Down

0 comments on commit 0ea2cf5

Please sign in to comment.