moving server over

This commit is contained in:
Colin Megill
2021-03-08 11:54:29 -08:00
parent 21d1ca1bc8
commit 9eca912f8c
9 changed files with 33 additions and 222 deletions
+1 -14
View File
@@ -266,19 +266,6 @@ class DataAdaptor(metaclass=ABCMeta):
return labels_df
def check_new_genesets(self, genesets):
"""Check gene sets, return if correct, else raise error"""
# server_config.single_dataset__var_names
print("<<<<<<<<>>>>>>>>>>> NEED TO IMPLEMENT check_new_genesets")
# XXX TODO -
# 1. check that all gs names are legal & non-duplicative.
# 2. check that all genes exist in var.index or var-index
# 3. de-dup genes
return genesets
def data_frame_to_fbs_matrix(self, filter, axis):
"""
Retrieves data 'X' and returns in a flatbuffer Matrix.
@@ -351,7 +338,7 @@ class DataAdaptor(metaclass=ABCMeta):
@staticmethod
def normalize_embedding(embedding):
"""Normalize embedding layout to meet client assumptions.
Embedding is an ndarray, shape (n_obs, n)., where n is normally 2
Embedding is an ndarray, shape (n_obs, n)., where n is normally 2
"""
# scale isotropically