Skip to content

Commit 69c2992

Browse files
committed
fixup! add docstrings to public methods and build full API docs
1 parent 3f92ea1 commit 69c2992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anndata.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function Base.write(parent::Group, adata::AbstractAnnData; compress::UInt8=0x9)
308308
end
309309

310310
function Base.write(adata::AbstractAnnData; compress::UInt8=0x9)
311-
if file(adata) === nothing
311+
if !isbacked(adata)
312312
error("adata is not backed, need somewhere to write to")
313313
end
314314
write_metadata(file(adata), adata, compress=compress)

0 commit comments

Comments
 (0)