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
Roelofsen, Hans
MNP utilities
Commits
ae389441
Commit
ae389441
authored
Jun 09, 2021
by
Roelofsen, Hans
Browse files
typo
parent
00279ead
Changes
1
Hide whitespace changes
Inline
Side-by-side
sample/dk2_plant.py
View file @
ae389441
...
...
@@ -21,7 +21,7 @@ from speciescode2taxon import speciescode2taxon as code2tax
def
plant_dk
(
ffargs
):
"""
Function to calculate draagkracht, see help
above
.
Function to calculate draagkracht, see help
below
.
:param A:
:param th_dk:
:param th_f:
...
...
@@ -221,13 +221,13 @@ if __name__ == '__main__':
def
test
(
fargs
):
# Provide default values to the args Namespace
setattr
(
args
,
'A'
,
5
)
setattr
(
args
,
'th_dk'
,
0.1
)
setattr
(
args
,
'th_f'
,
5
)
setattr
(
args
,
'th_t'
,
5
)
setattr
(
args
,
'sp_src'
,
r
'.\sample_data\species_list.csv'
)
setattr
(
args
,
'bt_src'
,
r
'.\sample_data\bts.csv'
)
setattr
(
args
,
'out_dir'
,
r
'.\sample_data'
)
setattr
(
f
args
,
'A'
,
5
)
setattr
(
f
args
,
'th_dk'
,
0.1
)
setattr
(
f
args
,
'th_f'
,
5
)
setattr
(
f
args
,
'th_t'
,
5
)
setattr
(
f
args
,
'sp_src'
,
r
'.\sample_data\species_list.csv'
)
setattr
(
f
args
,
'bt_src'
,
r
'.\sample_data\bts.csv'
)
setattr
(
f
args
,
'out_dir'
,
r
'.\sample_data'
)
print
(
'Testing...'
)
try
:
plant_dk
(
fargs
)
...
...
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