ibest / ARC

Assembly by Reduced Complexity (ARC)
Apache License 2.0
41 stars 5 forks source link

ARC parameter parsing assumes parameters that start with a number are numeric #51

Closed magitz closed 8 years ago

magitz commented 9 years ago

config.py (lns 125-128) looks for: if re.match(r"[0-9]*.[0-9]+", value): self.config[key] = float(value) elif re.match(r"[0-9]+", value): self.config[key] = int(value)

So if a parameter starts with a number, like a reference file named 5gene.fa, you get an error as ARC tries to convert the parameter to an int.

samhunter commented 9 years ago

Hi Magitz, thanks for reporting this bug. I'll put it on my todo list of things to take care of before the next release.

Sam

samhunter commented 8 years ago

Should be resolved in v1.1.4-beta