-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I attempted to create a range as follows: cn.cnrange("A0","AP 95 T8 T0")
I get an error message saying:
BadRange Traceback (most recent call last)
File ~\AppData\Local\anaconda3\lib\site-packages\pycallnumber\set.py:166, in init(self, start, end)
File ~\AppData\Local\anaconda3\lib\site-packages\pycallnumber\set.py:184, in _validate(self, start, end)
BadRange: The range's start and end arguments, if both are provided, must have the same type.
During handling of the above exception, another exception occurred:
BadRange Traceback (most recent call last)
Cell In[63], line 1
----> 1 cn.cnrange("A0","AP 95 T8 T0")
File ~\AppData\Local\anaconda3\lib\site-packages\pycallnumber\factories.py:81, in cnrange(start, end, startname, endname, useropts, unittypes, rangesettype)
File ~\AppData\Local\anaconda3\lib\site-packages\pycallnumber\set.py:339, in init(self, *user_ranges)
File ~\AppData\Local\anaconda3\lib\site-packages\pycallnumber\set.py:168, in init(self, start, end)
BadRange: The range A0 to AP 95 T8 T0 did not validate: The range's start and end arguments, if both are provided, must have the same type.
If I try doing this with numbers that have the same level of specificity, it works. I don't have much experience with Python or with GitHub, so if I'm missing something obvious or going through the wrong channel for this, I apologize. Thanks!