Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
3f4e3f5a
Commit
3f4e3f5a
authored
Feb 19, 2014
by
Médéric Boquien
Browse files
Raise exception when the sum of the escape fraction and f_dust is larger than 1.
parent
08d1ed49
Changes
1
Hide whitespace changes
Inline
Side-by-side
pcigale/creation_modules/lines.py
View file @
3f4e3f5a
...
...
@@ -97,6 +97,8 @@ class Module(CreationModule):
(
1.
-
self
.
parameters
[
'escape_fraction'
]
-
self
.
parameters
[
'f_dust'
])
)
if
self
.
conv
<
0.
:
raise
Exception
(
"Escape fraction+f_dust>1"
)
def
process
(
self
,
sed
):
...
...
Write
Preview
Supports
Markdown
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