Skip to content

Commit

Permalink
Update _io.py
Browse files Browse the repository at this point in the history
rename from_scirpy to be more consistent with scverse/scirpy#241
  • Loading branch information
zktuong committed Mar 30, 2021
1 parent 6772e8d commit 921785e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dandelion/utilities/_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# @Author: kt16
# @Date: 2020-05-12 14:01:32
# @Last Modified by: Kelvin
# @Last Modified time: 2021-03-30 12:27:43
# @Last Modified time: 2021-03-30 13:48:31

import os
import pandas as pd
Expand Down Expand Up @@ -270,7 +270,7 @@ def to_scirpy(data: Dandelion) -> AnnData:
return(ir.io.from_dandelion(data))


def read_scirpy(adata: AnnData) -> Dandelion:
def from_scirpy(adata: AnnData) -> Dandelion:
"""
Reads a scirpy initialized oject and returns a `Dandelion` object.
Expand Down

0 comments on commit 921785e

Please sign in to comment.