Merge pull request #426 from broadinstitute/ami_fix_MoleculoPipeline_suffix_bug
fix a (ugly) weird error from last commit that changed all the scala fil...
This commit is contained in:
commit
cc85e373d0
|
|
@ -325,7 +325,7 @@ public class GATKExtensionsGenerator extends CommandLineProgram {
|
||||||
* @throws IOException If the file cannot be written.
|
* @throws IOException If the file cannot be written.
|
||||||
*/
|
*/
|
||||||
private void writeFile(String fullClassName, String content) throws IOException {
|
private void writeFile(String fullClassName, String content) throws IOException {
|
||||||
File outputFile = new File(outputDirectory, fullClassName.replace(".", "/") + "MoleculoPipeline.scala");
|
File outputFile = new File(outputDirectory, fullClassName.replace(".", "/") + ".scala");
|
||||||
if (outputFile.exists()) {
|
if (outputFile.exists()) {
|
||||||
String existingContent = FileUtils.readFileToString(outputFile);
|
String existingContent = FileUtils.readFileToString(outputFile);
|
||||||
if (StringUtils.equals(content, existingContent))
|
if (StringUtils.equals(content, existingContent))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue