WaterNet icon indicating copy to clipboard operation
WaterNet copied to clipboard

Issue with lambda statement using python 3.5

Open tbhadra opened this issue 6 years ago • 0 comments

Hi, Lambda definition is- get_path = lambda tiles, pos, path : path Lambda call is- sorted_by_path = sorted(labels, key=get_path)

Call to lambda with multiple positional arguments must be accompanied with arguments, but now there arises a error:- TypeError: () missing 2 required positional arguments: 'pos' and 'path'

File name=geo_util.py

I don't know if anyone will respond to my issue.

tbhadra avatar Dec 30 '19 10:12 tbhadra