Skip to content

Commit

Permalink
Merge pull request #77 from UMCUGenetics/release/v3.8.0
Browse files Browse the repository at this point in the history
Release/v3.8.0
  • Loading branch information
rernst authored Jun 10, 2024
2 parents bb922b8 + be3040d commit 5dee544
Show file tree
Hide file tree
Showing 12 changed files with 1,154 additions and 950 deletions.
31 changes: 0 additions & 31 deletions ExonCov.py

This file was deleted.

7 changes: 6 additions & 1 deletion ExonCov/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@
import flask_admin
from flask_security import Security, SQLAlchemyUserDatastore
from flask_debugtoolbar import DebugToolbarExtension
from flask_migrate import Migrate

from ExonCov.utils import url_for_other_page, event_logger

# Setup APP
app = Flask(__name__)
app.config.from_object('config')
db = SQLAlchemy(app)
migrate = Migrate(app, db, command='db_migrate')
csrf = CSRFProtect(app)
admin = flask_admin.Admin(app, name='ExonCov Admin', template_mode='bootstrap3')

Expand All @@ -27,7 +29,10 @@
app.jinja_env.globals['git_version'] = check_output(git_command + ['describe', '--tags']).decode('ascii').strip()
app.jinja_env.globals['git_commit'] = check_output(git_command + ['rev-parse', 'HEAD']).decode('ascii').strip()

from . import views, api_views, admin_views, models, forms
from . import views, api_views, admin_views, models, forms, cli

# Setup CLI
app.cli.add_command(cli.db_cli)

# Setup flask_security
user_datastore = SQLAlchemyUserDatastore(db, models.User, models.Role)
Expand Down
Loading

0 comments on commit 5dee544

Please sign in to comment.