The file name if statement is replaced by a call to the function spat.comm_filename which makes the code much more readable.
The file name if statement is replaced by a call to the function spat.comm_filename which makes the code much more readable.

weecology/mete-spatial,weecology/mete-spatial,weecology/mete-spatial,weecology/mete-spatial