Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mutalyzer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirrors
mutalyzer
Commits
958766e6
Commit
958766e6
authored
11 years ago
by
Vermaat
Browse files
Options
Downloads
Patches
Plain Diff
Don't create some temp dirs on every run
parent
ba9a6a5c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mutalyzer/config/default_settings.py
+2
-12
2 additions, 12 deletions
mutalyzer/config/default_settings.py
with
2 additions
and
12 deletions
mutalyzer/config/default_settings.py
+
2
−
12
View file @
958766e6
...
...
@@ -4,11 +4,6 @@ pointed-to by the `MUTALYZER_SETTINGS` environment variable.
"""
# Todo: Find an alternative to the temporary directories/files defined here,
# since they are created even if the setting is reset from another
# configuration file, and they are never removed.
# Use Mutalyzer in debug mode.
DEBUG
=
False
...
...
@@ -22,8 +17,7 @@ EMAIL = 'mutalyzer@humgen.nl'
# The cache directory. Used to store uploaded and downloaded files (e.g.,
# reference files from NCBI or user) and batch job results.
import
tempfile
CACHE_DIR
=
tempfile
.
mkdtemp
()
CACHE_DIR
=
'
/tmp
'
# Maximum size of the cache directory (in bytes).
MAX_CACHE_SIZE
=
50
*
1048576
# 50 MB
...
...
@@ -42,11 +36,7 @@ DATABASE_URI = 'sqlite://'
DEFAULT_ASSEMBLY
=
'
hg19
'
# Name and location of the log file.
import
os
import
tempfile
log_handle
,
log_filename
=
tempfile
.
mkstemp
()
os
.
close
(
log_handle
)
LOG_FILE
=
log_filename
LOG_FILE
=
'
/tmp/mutalyzer.log
'
# Level of logged messages.
LOG_LEVEL
=
3
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment