File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ env-update: environment.yml
12
12
conda env update -n $(ENV_NAME ) -f $<
13
13
14
14
env-setup :
15
- $(CONDA_ACTIVATE ) ; pip install -e .
15
+ $(CONDA_ACTIVATE ) ; pip install -e . --no-deps
16
16
17
17
pytest :
18
18
$(CONDA_ACTIVATE ) ; \
Original file line number Diff line number Diff line change 1
- __version__ = '1.0.1 '
1
+ __version__ = '1.0.2 '
Original file line number Diff line number Diff line change 12
12
from biophi .common .utils .scheduler import use_scheduler , TaskNotFoundError
13
13
from biophi .common .utils .stats import get_stats , log_access
14
14
from biophi .humanization .web .views import biophi_humanization
15
+ from flask_session import Session
15
16
16
17
app = Flask (__name__ )
17
18
34
35
MAILCHIMP_NEWSLETTER = os .environ .get ('MAILCHIMP_NEWSLETTER' ),
35
36
))
36
37
38
+ session = Session ()
39
+ session .init_app (app )
40
+
37
41
app .jinja_env .globals .update (aa_name = aa_name )
38
42
app .jinja_env .globals .update (seq3 = seq3 )
39
43
app .jinja_env .globals .update (python_set = set )
48
52
app .jinja_env .globals .update (min = min )
49
53
app .jinja_env .globals .update (max = max )
50
54
51
-
52
55
app .register_blueprint (biophi_humanization , url_prefix = '/humanization' )
53
56
54
57
use_scheduler ('celery' )
Original file line number Diff line number Diff line change @@ -20,3 +20,4 @@ dependencies:
20
20
- xlsxwriter
21
21
- humanize
22
22
- fairseq == 0.10.2
23
+ - flask_session
You can’t perform that action at this time.
0 commit comments