Skip to content

Commit

Permalink
back to parallel, update counts
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Jul 12, 2023
1 parent ceccc50 commit 9a709b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Shared code to compute archive-wide statistics like the number of non-hydrogen a
# Statistics
| Task | Description | Count |
| --- | --- | --- |
| Task01 | Count Heavy Atoms | 1,874,388,211 |
| Task01 | Count Heavy Atoms | 1,921,826,948 |

Last updated: 05/12/23
Number of structures: 204,602
Last updated: 07/12/23
Number of structures: 207,338
2 changes: 1 addition & 1 deletion src/main/java/org/rcsb/stats/Helpers.java
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class Helpers {
* @return stream of structure data
*/
public static Stream<MmCifFile> fetchStructureData(Collection<String> identifiers) {
return identifiers.stream()
return identifiers.parallelStream()
.map(Helpers::fetchStructureData);
}

Expand Down

0 comments on commit 9a709b6

Please sign in to comment.