Skip to content

Commit

Permalink
Fix #30, a Y2020 bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
donkirkby committed Jan 14, 2020
1 parent b8098ae commit 353ae36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ExtractConanDateFromSamplesheet.pm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sub getSampleSheetDate {
if (!(-d $path)) { next; }
my $runID = basename($path);
my $date = substr($runID,0,6);
if (!($date =~ m/[1][0-9]{5}/)) { next; }
if (!($date =~ m/[0-9]{6}/)) { next; }
if (!(-e "$path/SampleSheet.csv")) { next; }

# Extract Conan's sample sheet date
Expand Down

0 comments on commit 353ae36

Please sign in to comment.