Skip to content

Commit

Permalink
Merge pull request #49 from dufeiyu/space
Browse files Browse the repository at this point in the history
Sometimes there is white space between
  • Loading branch information
dufeiyu authored May 28, 2022
2 parents fa86efc + 91d64d1 commit 2b77362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/subWF.pl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

my $key = "RunInfoString";
my $result = `grep $key $main_json`;
my ($run_info_str) = $result =~ /\:"(\S+)",/;
my ($run_info_str) = $result =~ /\:\s*"(\S+)",/;
#my $run_info_str = '220325_A00118_0477_BH7WJLDSX3,A00118,B,S4,NovaSeqXp,151,10,10,151';

my $sample_sheet = File::Spec->join($dir, 'sample_index');
Expand Down

0 comments on commit 2b77362

Please sign in to comment.