Skip to content

Commit

Permalink
Server, minor comment and message improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-brandizi committed Jul 24, 2023
1 parent c92f0c5 commit 898c8e5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ public String toString() {
* which means: random ID = chromosome no.:start:end:optional label
*
* The "qtl1=" part is optional so this is equivalent: "4:9920000:10180000:Petal size"
* TODO: to be removed? It was here in the past, now it doesn't seem to be in use anymore.
*
*/
public static QTL fromString(String qtlStr) throws IllegalArgumentException
Expand Down Expand Up @@ -169,7 +168,7 @@ public static String countLoci2regionStr ( String countLociStr )
String[] frags = countLociStr.split ( "-" );

if ( frags.length < 1 )
throw new IllegalArgumentException ( countLociStr + " not valid qtl region" );
throw new IllegalArgumentException ( "the parameter \"" + countLociStr + "\" isn't a valid qtl region" );

String chr = frags [ 0 ];
int start = frags.length > 1 ? Integer.parseInt ( frags [ 1 ] ) : 0;
Expand Down

0 comments on commit 898c8e5

Please sign in to comment.