Skip to content

Commit cfe7002

Browse files
committed
Fix failing tests
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
1 parent 1850d11 commit cfe7002

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

modules/nextflow/src/main/groovy/nextflow/cli/module/CmdModuleRemove.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import nextflow.cli.CmdBase
2424
import nextflow.exception.AbortOperationException
2525
import nextflow.module.ModuleReference
2626
import nextflow.module.ModuleStorage
27+
2728
import nextflow.util.TestOnly
2829

2930
import java.nio.file.Files

modules/nextflow/src/main/groovy/nextflow/module/ModuleStorage.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ class ModuleStorage {
120120
)
121121

122122
// Load checksum if available
123+
Map infoProps = ModuleInfo.load(moduleDir)
124+
installed.expectedChecksum = infoProps?.checksum
125+
installed.registryUrl = infoProps?.registryUrl
123126
installed.installedVersion = ModuleSpec.load(installed.manifestFile).version
124127
return installed
125128
}

modules/nextflow/src/test/groovy/nextflow/module/ModuleSpecTest.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,7 @@ license: MIT
659659
660660
process ALIGN {
661661
input:
662-
(sample_id, reads): Tuple<String, List<Path>>
662+
tuple(sample_id: String, reads: List<Path>)
663663
index: Path
664664
id: String
665665
anon_tuple: Tuple<String, Path>

0 commit comments

Comments
 (0)