Commit fc3806e5 authored by Mathieu Courcelles's avatar Mathieu Courcelles

Fixes for raw add Kojak

parent 0ac4482b
Pipeline #14897219 passed with stage
in 1 minute and 10 seconds
......@@ -32,7 +32,7 @@ class KojakParser:
sM = sequencesMatcher(dataset.fasta_db.pk)
try:
with open(dataset.file.path, 'rb') as f:
with open(dataset.file.path, 'r') as f:
# Set run name with file name
run_name = dataset.file.path
......
......@@ -45,6 +45,9 @@ DATABASES = {
'USER': os.environ.get('MYSQL_USER', ''),
'PASSWORD': get_secret('MYSQL_PASSWORD'),
'PORT': '3306', # Set to empty string for default. Not used with sqlite3.
'OPTIONS': {
'init_command': "SET sql_mode='STRICT_TRANS_TABLES'",
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment