Skip to content
Snippets Groups Projects

feat: check PMID validity

Merged Mathieu.Vonlanthen requested to merge MVO-check-pmid into master
Files
2
@@ -41,6 +41,8 @@ public class ValidationTool {
result = new BigInteger(pmidString);
if(result.equals(BigInteger.ZERO)) {
return false;
} else {
return true;
}
} catch (NumberFormatException e) {
return false;
@@ -48,6 +50,5 @@ public class ValidationTool {
} else {
return false;
}
return true;
}
}
Loading