Skip to content

Commit 031d95a

Browse files
author
Baohong Zhang
committed
Upgrade to cellxgene v0.16.4
1 parent 334256c commit 031d95a

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

VIPInterface.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def route(data,appConfig=None,CLItmp="/tmp"):
4949
port = appConfig.server_config.app__port
5050
data["url"] = f'http://localhost:{port}/{api_version}'#{appConfig.server__host}
5151
data["CLItmp"] = CLItmp
52+
#ppr.pprint(data['figOpt'])
5253
if 'figOpt' in data.keys():
5354
setFigureOpt(data['figOpt'])
5455
try:
@@ -1147,12 +1148,6 @@ def CLI(data):
11471148
f.write(script)
11481149

11491150
res = subprocess.run('jupytext --to notebook --output - %s | jupyter nbconvert --ExecutePreprocessor.timeout=1800 --to html --execute --stdin --stdout'%strScript,capture_output=True,shell=True)
1150-
<<<<<<< HEAD
1151-
# ppr.pprint(res)
1152-
=======
1153-
if 'Error' in res.stderr.decode('utf-8'):
1154-
raise ValueError(res.stderr.decode('utf-8'))
1155-
>>>>>>> 062b82c9e32d649226ea12dd019b458f6aa5782d
11561151
html = res.stdout.decode('utf-8')
11571152
h,s,e = html.partition('<div class="cell border-box-sizing code_cell rendered">')
11581153
h1,s,e = e.partition('<div class="cell border-box-sizing code_cell rendered">') ## remove the first cell

0 commit comments

Comments
 (0)