Skip to content

Commit

Permalink
Merge pull request #221 from Verisimilitude11/deepsource-transform-9d…
Browse files Browse the repository at this point in the history
…d95d07

Format code with autopep8 and google-java-format
  • Loading branch information
VerisimilitudeX authored Oct 22, 2022
2 parents bf142f0 + 67a3587 commit 3f469b5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/DNAnalyzer/Properties.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,12 @@

package DNAnalyzer;

import DNAnalyzer.aminoAcid.*;
import java.io.IOException;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Arrays;

import DNAnalyzer.aminoAcid.*;

/**
* Prints the list of proteins and their respective properties found in the DNA.
Expand Down Expand Up @@ -136,7 +135,7 @@ public static boolean isRandomDNA(final String dna) {

// This sorts the array to get min and max value
Arrays.sort(nucleotideCount);

// Only calculate 2 Percentages, as only the highest difference (max - min) is relevant
final int maxPercent = nucleotidePercentage(nucleotideCount[3], dna);
final int minPercent = nucleotidePercentage(nucleotideCount[0], dna);
Expand Down

0 comments on commit 3f469b5

Please sign in to comment.