Skip to content

Commit 3c7a668

Browse files
authored
Merge pull request #53 from seqeralabs/seqera-ai/20251124-223146-fix-concurrent-modification-exception
Fix ConcurrentModificationException and configuration warnings
2 parents 69ae747 + 01f6443 commit 3c7a668

File tree

3 files changed

+10
-160
lines changed

3 files changed

+10
-160
lines changed

FIXES_SUMMARY.md

Lines changed: 0 additions & 156 deletions
This file was deleted.

nextflow.config

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ params {
2828
// This design ensures explicit per-sample control and eliminates ambiguity.
2929
// See samplesheet schema and examples in assets/test_data/ for details.
3030
// ========================================================================
31+
num_designs = null // Number of intermediate designs (typically specified per-sample in samplesheet)
32+
budget = null // Number of final budget designs (typically specified per-sample in samplesheet)
3133

3234
// Boltzgen advanced options
3335
cache_dir = null // Cache directory for model weights (~6GB), defaults to ~/.cache
@@ -154,7 +156,6 @@ profiles {
154156

155157
docker {
156158
docker.enabled = true
157-
docker.userEmulation = true
158159
podman.enabled = false
159160
docker.runOptions = '-u $(id -u):$(id -g)'
160161
}

workflows/protein_design.nf

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,14 @@ workflow PROTEIN_DESIGN {
236236
// Get NPZ and CIF pairs from the conversion step
237237
ch_ipsae_protenix = CONVERT_PROTENIX_TO_NPZ.out.npz_with_cif
238238
.map { meta, npz_file, cif_file ->
239-
// Add source tracking
240-
def ipsae_meta = meta.clone()
241-
ipsae_meta.source = "protenix"
239+
// Add source tracking - create new meta map explicitly to avoid concurrent modification
240+
def ipsae_meta = [
241+
id: meta.id,
242+
parent_id: meta.parent_id,
243+
mpnn_parent_id: meta.mpnn_parent_id,
244+
model_id: meta.model_id,
245+
source: "protenix"
246+
]
242247
[ipsae_meta, npz_file, cif_file]
243248
}
244249

0 commit comments

Comments
 (0)