aboutsummaryrefslogtreecommitdiff
path: root/scripts/maintenance/QTL_Reaper_v6.py
diff options
context:
space:
mode:
authorBonfaceKilz2020-08-19 02:00:11 +0300
committerBonfaceKilz2020-08-19 02:33:46 +0300
commit06edbb8455f1e85a3818c33c4ef4d42e6a061d43 (patch)
tree2ed7a576394f46e93512815cb6b02951ac64a58e /scripts/maintenance/QTL_Reaper_v6.py
parent4e10f4bd8fb902810ee033abb8d509ab641308e1 (diff)
downloadgenenetwork2-06edbb8455f1e85a3818c33c4ef4d42e6a061d43.tar.gz
Wrap `map()` in a `list` call
Run `2to3-3.8 -f map -w .` See: <https://docs.python.org/2/library/2to3.html#2to3fixer-map>
Diffstat (limited to 'scripts/maintenance/QTL_Reaper_v6.py')
-rwxr-xr-xscripts/maintenance/QTL_Reaper_v6.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/maintenance/QTL_Reaper_v6.py b/scripts/maintenance/QTL_Reaper_v6.py
index 7fb56eca..2fbeb53b 100755
--- a/scripts/maintenance/QTL_Reaper_v6.py
+++ b/scripts/maintenance/QTL_Reaper_v6.py
@@ -23,7 +23,7 @@ for item in results:
ProbeSetFreezeIds=sys.argv[1:]
if ProbeSetFreezeIds:
#####convert the Ids to integer
- ProbeSetFreezeIds=map(int, ProbeSetFreezeIds)
+ ProbeSetFreezeIds=list(map(int, ProbeSetFreezeIds))
else:
#####get all of the dataset that need be updated