Skip to content
Snippets Groups Projects
Commit 2ecf9780 authored by Bryan BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

pattern should not match for a subset

commit prevent validation of ../valide_name.hdf5
parent ee90ec62
No related branches found
No related tags found
1 merge request!101Update file inittable.py
...@@ -17,7 +17,7 @@ from functools import reduce ...@@ -17,7 +17,7 @@ from functools import reduce
options.mode.chained_assignment = None options.mode.chained_assignment = None
warnings.filterwarnings("ignore", category=tables.NaturalNameWarning) warnings.filterwarnings("ignore", category=tables.NaturalNameWarning)
valideInitTableNamePattern = re.compile("([a-zA-Z0-9_-]+).hdf5") #re.compile("^([A-Z]*[a-z]*-*\.?[0-9]*)+$") valideInitTableNamePattern = re.compile("^([a-zA-Z0-9_-]+).hdf5$") #re.compile("^([A-Z]*[a-z]*-*\.?[0-9]*)+$")
class InitMeta(object): class InitMeta(object):
def __init__(self, nb_snps, nb_phenotypes): def __init__(self, nb_snps, nb_phenotypes):
......
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