`Stop early. Core ${split_sections_by_core[0].combined_id_core} (id ${options.core_id}) and its ${split_sections_by_core_map.size} sections
seems to be split already, at least partially.
Will not create samples if
- only an Archive half A is found, and working half W is missing
- only a Working half W is found, and archive half A is missing`
)
// console.log(split_sections_by_core_map)
console.log(split_sections_by_core_map)
process.exit(0)
}else{
console.log(
` Core ${split_sections_by_core[0].combined_id_core} (id ${options.core_id}) has ${suitable_sections_ids.length} / ${split_sections_by_core_map.size} sections for sampling.`
)
}
returnnewPromise((resolve,reject)=>{
resolve(suitable_sections_ids.sort())
reject(suitable_sections_ids)
})
})
.then((suitable_sections_ids)=>{
// filter sections again for appropriate WR sections