2022-07-28 21:00:47,188 - INFO - Searching for pegRNAs and nicking gRNAs for target sequences ...
Traceback (most recent call last):
File "/seqprg/scripts/gene_editing/primedesign.py", line 1359, in
if (abs(nick_distance) >= nicking_distance_minimum) and (abs(nick_distance) <= nicking_distance_maximum):
TypeError: '<=' not supported between instances of 'int' and 'list'
If I do not use the nicking distance min and max, then the tools functions fine. But when I go to pass in a number, I keep getting this error. This just started recently
I was able to solve it by changing the parser lines that read it (lines 57 and 58).
I changed nargs = '+' to nargs = '?'.
The + takes in the arguments as a list, while ? will take a single value
python /seqprg/scripts/gene_editing/primedesign.py -f design.txt -pbs 10 11 12 13 14 15 -rtt 10 11 12 -nick_dist_max 10
2022-07-28 21:00:47,188 - INFO - Searching for pegRNAs and nicking gRNAs for target sequences ... Traceback (most recent call last): File "/seqprg/scripts/gene_editing/primedesign.py", line 1359, in
if (abs(nick_distance) >= nicking_distance_minimum) and (abs(nick_distance) <= nicking_distance_maximum):
TypeError: '<=' not supported between instances of 'int' and 'list'
If I do not use the nicking distance min and max, then the tools functions fine. But when I go to pass in a number, I keep getting this error. This just started recently