mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-21 02:58:13 +08:00
Bump interactive limits (#319)
This commit is contained in:
@@ -31,11 +31,11 @@ class CXGDriver(metaclass=ABCMeta):
|
||||
# TODO - Interactive limit should be generated from the actual available methods see GH issue #94
|
||||
if self.layout_method:
|
||||
# TODO handle "var" when gene layout becomes available
|
||||
features["layout"]["obs"] = {"available": True, "interactiveLimit": 15000}
|
||||
features["layout"]["obs"] = {"available": True, "interactiveLimit": 50000}
|
||||
if self.diffexp_method:
|
||||
features["diffexp"] = {"available": True, "interactiveLimit": 5000}
|
||||
features["diffexp"] = {"available": True, "interactiveLimit": 50000}
|
||||
if self.cluster:
|
||||
features["cluster"] = {"available": True, "interactiveLimit": 45000}
|
||||
features["cluster"] = {"available": True, "interactiveLimit": 50000}
|
||||
return features
|
||||
|
||||
@staticmethod
|
||||
|
||||
@@ -117,7 +117,7 @@ class UtilTest(unittest.TestCase):
|
||||
self.data._create_schema()
|
||||
|
||||
def test_config(self):
|
||||
self.assertEqual(self.data.features["layout"]["obs"], {'available': True, 'interactiveLimit': 15000})
|
||||
self.assertEqual(self.data.features["layout"]["obs"], {'available': True, 'interactiveLimit': 50000})
|
||||
|
||||
def test_layout(self):
|
||||
layout = self.data.layout(None)
|
||||
|
||||
Reference in New Issue
Block a user