Skip to content

Commit

Permalink
Merge pull request #113 from sanger-pathogens/fix_read_marker_strippi…
Browse files Browse the repository at this point in the history
…ng_bug

Fix for Trello card
  • Loading branch information
magnusmanske authored Aug 13, 2021
2 parents 95cf36b + 390d90a commit fedc551
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/UpdatePipeline/Spreadsheet/SpreadsheetMetaData.pm
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,7 @@ sub _file_name_without_extension
my ($self, $input_filename, $input_file_type) = @_;
return undef unless(defined($input_filename) && defined($input_file_type));
$input_filename =~ s!.$input_file_type!!;
$input_filename =~ s!\_1$!!;
$input_filename =~ s!\_2$!!;
$input_filename =~ s!\_[12]$!!;
return $input_filename;
}

Expand Down

0 comments on commit fedc551

Please sign in to comment.