Commit ae389441 authored by Roelofsen, Hans's avatar Roelofsen, Hans
Browse files


parent 00279ead
......@@ -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(fargs, 'A', 5)
setattr(fargs, 'th_dk', 0.1)
setattr(fargs, 'th_f', 5)
setattr(fargs, 'th_t', 5)
setattr(fargs, 'sp_src', r'.\sample_data\species_list.csv')
setattr(fargs, 'bt_src', r'.\sample_data\bts.csv')
setattr(fargs, 'out_dir', r'.\sample_data')
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment