Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-codegen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Heinigk
dune-codegen
Commits
4d89d6cc
Commit
4d89d6cc
authored
7 years ago
by
René Heß
Browse files
Options
Downloads
Patches
Plain Diff
PEP8
parent
745d978e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/dune/perftool/compile.py
+4
-6
4 additions, 6 deletions
python/dune/perftool/compile.py
with
4 additions
and
6 deletions
python/dune/perftool/compile.py
+
4
−
6
View file @
4d89d6cc
...
...
@@ -6,12 +6,7 @@ Should also contain the entrypoint methods.
from
__future__
import
absolute_import
# Configure loggers
import
logging.config
from
os
import
path
log_file_path
=
path
.
join
(
path
.
dirname
(
path
.
abspath
(
__file__
)),
'
logging.conf
'
)
logging
.
config
.
fileConfig
(
log_file_path
)
import
loopy
...
...
@@ -30,8 +25,11 @@ from dune.perftool.pdelab.localoperator import (generate_localoperator_basefile,
name_localoperator_file
)
from
dune.perftool.ufl.preprocess
import
preprocess_form
from
os.path
import
splitext
,
basename
from
os.path
import
splitext
,
basename
,
join
,
dirname
,
abspath
# Configure loggers
log_file_path
=
join
(
dirname
(
abspath
(
__file__
)),
'
logging.conf
'
)
logging
.
config
.
fileConfig
(
log_file_path
)
# Disable loopy caching before we do anything else!
loopy
.
CACHING_ENABLED
=
False
...
...
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