Skip to content

Commit

Permalink
Fixed bug where scanpy was being called at top of module instead of j…
Browse files Browse the repository at this point in the history
…ust in niche loading functions.
  • Loading branch information
ejohnson643 committed Dec 28, 2021
1 parent 0bf89d9 commit 93d4295
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion EMBEDR/utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import numpy as np
import os
import pandas as pd
import scanpy as sc
from time import time

###############################################################################
Expand Down Expand Up @@ -40,6 +39,8 @@ def load_data(data_name,
dtype=float,
load_metadata=True):

import scanpy as sc

metadata = None
if data_name.lower() == 'mnist':

Expand Down

0 comments on commit 93d4295

Please sign in to comment.