Commit f5e1eb50 authored by Eric CHARPENTIER's avatar Eric CHARPENTIER 🐍
Browse files

fixed minor bug is samplesheet checking

parent 319232c2
......@@ -116,7 +116,7 @@ try:
if(alphanum.match(well) and alphanum.match(name) and alphanum.match(index) and alphanum.match(project) and alphanum.match(condition) and alphanum.match(species)) :
sample = OrderedDict([("well",well),("name",name),("index",index),("project",project),("condition",condition), ("species",species)])
else:
eprint("ERROR make_srp_config.py: ","Invalid character or empty field in samplesheet at line "+str(count)+" :\""+well+"\t"+index+"\t"+name+"\t"+projet+"\t"+condition+"\t"+species+"\"")
eprint("ERROR make_srp_config.py: ","Invalid character or empty field in samplesheet at line "+str(count)+" :\""+well+"\t"+index+"\t"+name+"\t"+project+"\t"+condition+"\t"+species+"\"")
sys.exit()
if(not alphanumStartLetter.match(project)):
eprint("ERROR make_srp_config.py: ","Invalid sequence for project name \""+project+"\" in samplesheet at line "+str(count)+". Project name must start with a letter !")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment