allyd93 / linkage-mapper

Automatically exported from code.google.com/p/linkage-mapper
0 stars 0 forks source link

Error when no links to map #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce:
1. use a small euclidean cutoff distance (eg 5km with demo data)
2.
3.

What is the expected output? What do you see instead?

Program has no links to map.  Ideally would exit with a message, instead it 
throws an error:
Python error on **line 665** of watools_util
UnboundLocalError: local variable 'row' referenced before assignment

I'm sure there are other ways where the code throws an error instead of exiting 
properly.

Original issue reported on code.google.com by Circuits...@gmail.com on 19 Feb 2011 at 11:01

GoogleCodeExporter commented 8 years ago
code now exits with a message.  Good thing to have in a warning log.

Original comment by Circuits...@gmail.com on 29 Mar 2011 at 12:05