remove psutil (#773)

This commit is contained in:
Charlotte Weaver
2019-05-18 10:53:45 -07:00
committed by Bruce Martin
parent 82d65addec
commit ab4c74a321
2 changed files with 0 additions and 5 deletions
-4
View File
@@ -7,7 +7,6 @@ import warnings
import webbrowser
import click
import psutil
from server.app.app import Server
from server.app.util.errors import ScanpyFileError
@@ -165,9 +164,6 @@ security risk by including the --scripts flag. Make sure you trust the scripts t
click.echo(f"[cellxgene] Loading data from {basename(data)}, this may take awhile...")
else:
click.echo(f"[cellxgene] Loading data from {basename(data)}.")
# if file is larger than main memory, let the user know performance may suffer
if file_size > .95 * psutil.virtual_memory().total:
click.echo(f"[cellxgene] Warning: data file is larger than RAM - application may be very slow.")
# Fix for anaconda python. matplotlib typically expects python to be installed as a framework TKAgg is usually
# available and fixes this issue. See https://matplotlib.org/faq/virtualenv_faq.html