We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2364de commit 0f5cf0dCopy full SHA for 0f5cf0d
biopandas/mmcif/mmcif_parser.py
@@ -227,15 +227,15 @@ def __repr__(self):
227
def __cif_float_range__(inp):
228
try:
229
pos = inp.index("-", 1)
230
- return (__CIFFloat__(inp[:pos]), __CIFFloat__(inp[pos + 1 :]))
+ return (__CIFFloat__(inp[:pos]), __CIFFloat__(inp[pos + 1:]))
231
except Exception:
232
return (__CIFFloat__(inp),)
233
234
235
def __cif_int_range__(inp):
236
237
238
- return (__CIFInt__(inp[:pos]), __CIFInt__(inp[pos + 1 :]))
+ return (__CIFInt__(inp[:pos]), __CIFInt__(inp[pos + 1:]))
239
240
return (__CIFInt__(inp),)
241
0 commit comments