Closed roryk closed 8 years ago
Argh, I'm sure I tested this... The code used iteritems() in the past, but since that method was dropped in Python 3 I was looking for something that works in both 2 and 3.
The following is cross-compatible (slightly pessimized on Python 2, but I don't expect that particicular dict to get very big):
for readname, readidx in unmapped_with_mapped_mate.items():
What do you think?
Thanks, I swapped it to use .items() instead.
Fixed, thanks a lot!
Thanks!
What do you think about pushing a new release with the fix?
On it right now :-)
Done; the integration checks are running on an updated bioconda recipe. Should be updated there within the hour.
Awesome. Thanks!
Hi Christian,
iter(dictionary) doesn't work:
so I swapped this call with .iteritems() which should do the same thing.