Skip to content

Commit

Permalink
Correct factory call for cram provider
Browse files Browse the repository at this point in the history
  • Loading branch information
grosscol committed Sep 26, 2023
1 parent 56623a7 commit 99910af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bravo_api/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.13.0
2.13.1
6 changes: 3 additions & 3 deletions bravo_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def create_app(test_config=None):
"CACHE_DIR": app.config['SEQUENCES_CACHE_DIR']}
cache = Cache(config=cache_config)
cache.init_app(app)
app.cram_source = CramSourceFactory(app.config['SEQUENCES_DIR'],
app.config['REFERENCE_SEQUENCE'],
cache)
app.cram_source = CramSourceFactory.build(app.config['SEQUENCES_DIR'],
app.config['REFERENCE_SEQUENCE'],
cache)

# Initialize CORS and Sessions
CORS(app, origins=app.config['CORS_ORIGINS'], supports_credentials=True)
Expand Down

0 comments on commit 99910af

Please sign in to comment.