Auto directory/folder creation
Posted: Thu Feb 07, 2013 2:24 pm
Hello,
I have set up a sequence template that automatically names the files as follows:
%s\%3n %Q.%i %D %T
So this creates a new directory based on the sequence name, then stores each chromatogram using the 3 digit number with ID, injection number, date and time. This all works great. We usually call our sequnce files 13xxxx e.g. 130001, 130002, etc. So we get for example \130001\001 Blank.01 01-02-13 13-43
Recently, the analyst saved the Sequence file with an 'odd' name, 'SEQ130034 01.02.13 .seq' . Clarity allowed that sequence name and saved the file. Notice it had a space at the end. So when Clarity saved the chromatograms, its created a directory called 'SEQ130034 01.02.13 '. The chromatograms were all saved okay within this directory, but Clarity cannot see the folder itself, so no chromatograms can be opened. Also it creates a problem with windows (we are running win xp) which does not allow spaces at the end of directory names, so the directory cannot be renamed or deleted now either.
Clarity should either not allow spaces at the end of the sequence names when saved or it should ignore the space when creating new directories to avoid this error.
Thanks,
I have set up a sequence template that automatically names the files as follows:
%s\%3n %Q.%i %D %T
So this creates a new directory based on the sequence name, then stores each chromatogram using the 3 digit number with ID, injection number, date and time. This all works great. We usually call our sequnce files 13xxxx e.g. 130001, 130002, etc. So we get for example \130001\001 Blank.01 01-02-13 13-43
Recently, the analyst saved the Sequence file with an 'odd' name, 'SEQ130034 01.02.13 .seq' . Clarity allowed that sequence name and saved the file. Notice it had a space at the end. So when Clarity saved the chromatograms, its created a directory called 'SEQ130034 01.02.13 '. The chromatograms were all saved okay within this directory, but Clarity cannot see the folder itself, so no chromatograms can be opened. Also it creates a problem with windows (we are running win xp) which does not allow spaces at the end of directory names, so the directory cannot be renamed or deleted now either.
Clarity should either not allow spaces at the end of the sequence names when saved or it should ignore the space when creating new directories to avoid this error.
Thanks,