Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bilby
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
lscsoft
bilby
Commits
ca960e99
There was a problem fetching the pipeline summary.
Commit
ca960e99
authored
6 years ago
by
Moritz Huebner
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/master'
# Conflicts: # tupak/__init__.py
parents
50fd3843
a95bf50d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tupak/__init__.py
+2
-2
2 additions, 2 deletions
tupak/__init__.py
tupak/utils.py
+8
-0
8 additions, 0 deletions
tupak/utils.py
with
10 additions
and
2 deletions
tupak/__init__.py
+
2
−
2
View file @
ca960e99
from
__future__
import
print_function
,
division
# import local files
# import local files
, utils should be imported first
from
.
import
utils
from
.
import
detector
from
.
import
prior
...
...
@@ -8,4 +8,4 @@ from . import source
from
.
import
likelihood
from
.
import
waveform_generator
from
.
import
result
from
.
import
sampler
\ No newline at end of file
from
.
import
sampler
This diff is collapsed.
Click to expand it.
tupak/utils.py
+
8
−
0
View file @
ca960e99
...
...
@@ -543,6 +543,14 @@ def set_up_command_line_arguments():
command_line_args
=
set_up_command_line_arguments
()
if
'
DISPLAY
'
in
os
.
environ
:
pass
else
:
logging
.
info
(
'
No $DISPLAY environment variable found, so importing
\
matplotlib.pyplot with non-interactive
"
Agg
"
backend.
'
)
import
matplotlib
matplotlib
.
use
(
'
Agg
'
)
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