mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Fix set parser for python
This commit is contained in:
parent
38507515e8
commit
f2c01a1b85
@ -58,7 +58,10 @@ class exSet(object):
|
||||
@staticmethod
|
||||
def fromString(string):
|
||||
vals = string.split(",")
|
||||
return exSet(*vals)
|
||||
if len(vals)>1:
|
||||
return exSet(vals[0],int(vals[1]))
|
||||
else:
|
||||
return exSet(vals[0])
|
||||
|
||||
def getDOI(self):
|
||||
import yaml
|
||||
|
Loading…
Reference in New Issue
Block a user