Data
cp $(locate_archive /mnt/Archive W22271/images/W22271-0762 W22271/images
Expected behavior
all files should pass
The offending LOC is
ImageFileNameFormatTest.java, 155
String restOfFileName = FilenameUtils.getBaseName(StringUtils.remove(imageFileName,targetIgName));
StringUtils.remove removes both instances of the string 0762 when it should only remove the first one.
Describe the bug Given an image group
W22271-0760
the fileW22271-0762/07620762.tif
failsTo Reproduce
Data cp $(locate_archive /mnt/Archive W22271/images/W22271-0762 W22271/images
Expected behavior all files should pass
The offending LOC is ImageFileNameFormatTest.java, 155
String restOfFileName = FilenameUtils.getBaseName(StringUtils.remove(imageFileName,targetIgName));
StringUtils.remove
removes both instances of the string0762
when it should only remove the first one.