Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
CIGALE
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
12
Issues
12
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cigale
CIGALE
Commits
ac38dd23
Commit
ac38dd23
authored
Jan 20, 2016
by
Yannick Roehlly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct '_log' stripping in variable names
parent
3ace8b67
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pcigale/analysis_modules/pdf_analysis/__init__.py
pcigale/analysis_modules/pdf_analysis/__init__.py
+3
-2
No files found.
pcigale/analysis_modules/pdf_analysis/__init__.py
View file @
ac38dd23
...
@@ -126,8 +126,9 @@ class PdfAnalysis(AnalysisModule):
...
@@ -126,8 +126,9 @@ class PdfAnalysis(AnalysisModule):
# Initalise variables from input arguments.
# Initalise variables from input arguments.
analysed_variables
=
config
[
"analysed_variables"
]
analysed_variables
=
config
[
"analysed_variables"
]
analysed_variables_nolog
=
[
''
.
join
(
variable
.
rsplit
(
'_log'
,
1
))
for
analysed_variables_nolog
=
[
variable
[:
-
4
]
if
variable
.
endswith
(
'_log'
)
variable
in
analysed_variables
]
else
variable
for
variable
in
analysed_variables
]
n_variables
=
len
(
analysed_variables
)
n_variables
=
len
(
analysed_variables
)
save
=
{
key
:
config
[
"save_{}"
.
format
(
key
)].
lower
()
==
"true"
save
=
{
key
:
config
[
"save_{}"
.
format
(
key
)].
lower
()
==
"true"
for
key
in
[
"best_sed"
,
"chi2"
,
"pdf"
]}
for
key
in
[
"best_sed"
,
"chi2"
,
"pdf"
]}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment