mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-21 23:58:12 +08:00
Rename diffexpression
This commit is contained in:
@@ -435,5 +435,5 @@ def get_api_resources():
|
||||
api.add_resource(InitializeAPI, "/initialize")
|
||||
api.add_resource(CellsAPI, "/cells")
|
||||
api.add_resource(ExpressionAPI, "/expression")
|
||||
api.add_resource(DifferentialExpressionAPI, "/diffexp")
|
||||
api.add_resource(DifferentialExpressionAPI, "/diffexpression")
|
||||
return api
|
||||
|
||||
@@ -48,7 +48,7 @@ class EndPoints(unittest.TestCase):
|
||||
assert len(result_data["data"]["cells"][0]['e']) == 3
|
||||
|
||||
def test_diffexp(self):
|
||||
url = "{base}{endpoint}".format(base=self.url_base, endpoint="diffexp")
|
||||
url = "{base}{endpoint}".format(base=self.url_base, endpoint="diffexpression")
|
||||
result = self.session.post(url, data=json.dumps({"celllist1": ["AAACATACAACCAC-1", "AACCGATGGTCATG-1"], "celllist2": ["CCGATAGACCTAAG-1", "GGTGGAGAAGTAGA-1"]}), headers={'content-type': 'application/json'})
|
||||
assert result.status_code == 200
|
||||
|
||||
Reference in New Issue
Block a user