mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-10-01 19:28:11 +08:00
Clean comments and logs
This commit is contained in:
@@ -372,7 +372,7 @@ class DataAdaptor(metaclass=ABCMeta):
|
||||
|
||||
else:
|
||||
|
||||
# scale isotropically
|
||||
# scale isotropically
|
||||
try:
|
||||
min = np.nanmin(embedding, axis=0)
|
||||
max = np.nanmax(embedding, axis=0)
|
||||
@@ -388,14 +388,6 @@ class DataAdaptor(metaclass=ABCMeta):
|
||||
translate = 0.5 - ((max - min) / scale / 2)
|
||||
normalized_layout = normalized_layout + translate
|
||||
|
||||
# print(f"scale {scale}, translate {translate}")
|
||||
|
||||
# if True: # if visium
|
||||
# self.data.uns["spatial"]
|
||||
|
||||
|
||||
# adata.uns["spatial"]['V1_Adult_Mouse_Brain']["scalefactors"]["tissue_hires_scalef"]
|
||||
|
||||
return normalized_layout
|
||||
|
||||
def layout_to_fbs_matrix(self, fields, spatial = None):
|
||||
|
||||
Reference in New Issue
Block a user