Skip to content

Commit

Permalink
better code
Browse files Browse the repository at this point in the history
  • Loading branch information
wow-such-code committed Jul 24, 2024
1 parent c8b0566 commit 431edfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/life/qbic/io/PetabParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public PetabMetadata parse(String dataPath) {
}
// if we are in the id block, we collect one dataset code per line
if (inIDBlock) {
parseDatasetCode(line).ifPresent(code -> sourcePetabReferences.add(code));
parseDatasetCode(line).ifPresent(sourcePetabReferences::add);
}
if (line.contains("openBISSourceIds:")) {
inIDBlock = true;
Expand Down

0 comments on commit 431edfb

Please sign in to comment.