Skip to content
Snippets Groups Projects
Commit dcec58e0 authored by Blake Fitch's avatar Blake Fitch
Browse files

Can't just validate experiment id with lower case. caller must upper case it before call or else.

parent 1096bfff
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ def experiment_number_to_id( experiment_number ):
# Validate
def experiment_id_validate( a_experiment_id ):
def experiment_id_validate( experiment_id ):
try:
if len( a_experiment_id ) != 9 :
if trc: print( "experiment_id not 9 chars. a_experiment_id: ", a_experiment_id )
......@@ -60,8 +60,6 @@ def experiment_id_validate( a_experiment_id ):
if trc: print( "experiment_id 5th char not - (hyphen). a_experiment_id:", a_experiment_id )
return False
experiment_id = a_experiment_id.upper()
exp_hash_id = experiment_id[:4] + experiment_id[5:]
if trc: print( "exp_hash_id: ", exp_hash_id )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment