Skip to content

Commit

Permalink
style: format code with Autopep8 and Google Java Format
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in dbb6b99 according to the output
from Autopep8 and Google Java Format.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Aug 16, 2024
1 parent dbb6b99 commit cf5cb2d
Showing 1 changed file with 15 additions and 17 deletions.
32 changes: 15 additions & 17 deletions src/main/java/DNAnalyzer/core/DNAAnalysis.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import DNAnalyzer.utils.core.ReadingFrames;
import DNAnalyzer.utils.protein.ProteinAnalysis;
import DNAnalyzer.utils.protein.ProteinFinder;

import java.io.IOException;
import java.io.PrintStream;
import java.util.List;
Expand Down Expand Up @@ -76,25 +75,24 @@ public DNAAnalysis reverseComplement() {
}

public void analyze23andMeData(String filePath) {
try {
Map<String, String> data23andMe = DNADataUploader.uploadFrom23andMe(filePath);
System.out.println("23andMe data loaded. Total SNPs: " + data23andMe.size());
// Perform further analysis with data23andMe
} catch (IOException e) {
e.printStackTrace();
}
try {
Map<String, String> data23andMe = DNADataUploader.uploadFrom23andMe(filePath);
System.out.println("23andMe data loaded. Total SNPs: " + data23andMe.size());
// Perform further analysis with data23andMe
} catch (IOException e) {
e.printStackTrace();
}
}

public void analyzeAncestryDNAData(String filePath) {
try {
Map<String, String> dataAncestryDNA = DNADataUploader.uploadFromAncestryDNA(filePath);
System.out.println("AncestryDNA data loaded. Total SNPs: " + dataAncestryDNA.size());
// Perform further analysis with dataAncestryDNA
} catch (IOException e) {
e.printStackTrace();
}
public void analyzeAncestryDNAData(String filePath) {
try {
Map<String, String> dataAncestryDNA = DNADataUploader.uploadFromAncestryDNA(filePath);
System.out.println("AncestryDNA data loaded. Total SNPs: " + dataAncestryDNA.size());
// Perform further analysis with dataAncestryDNA
} catch (IOException e) {
e.printStackTrace();
}

}

// Creates protein list
// Output the proteins, GC content, and nucleotide cnt found in the DNA
Expand Down

0 comments on commit cf5cb2d

Please sign in to comment.