Skip to content

Commit

Permalink
Merge pull request #1776 from milaboratory/export-for-platforma
Browse files Browse the repository at this point in the history
coveredFeaturesOnExport in specification
  • Loading branch information
gnefedev authored Sep 5, 2024
2 parents e555e82 + 6aa0dac commit 2254b57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ val toObfuscate: Configuration by configurations.creating {
val obfuscationLibs: Configuration by configurations.creating


val mixcrAlgoVersion = "4.7.0-18-mitool-tag-types"
val mixcrAlgoVersion = "4.7.0-20-export-for-platforma"
// may be blank (will be inherited from mixcr-algo)
val milibVersion = ""
// may be blank (will be inherited from mixcr-algo or milib)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2023, MiLaboratories Inc. All Rights Reserved
* Copyright (c) 2014-2024, MiLaboratories Inc. All Rights Reserved
*
* Before downloading or accessing the software, please read carefully the
* License Agreement available at:
Expand All @@ -21,6 +21,7 @@ import com.milaboratory.mixcr.presets.MiXCRParamsSpec
import com.milaboratory.mixcr.presets.PresetSpecification
import com.milaboratory.util.K_OM
import com.milaboratory.util.K_YAML_OM
import com.mixcr.util.K_JSON_OM
import picocli.CommandLine.Command
import picocli.CommandLine.Parameters
import java.nio.file.Path
Expand All @@ -41,6 +42,8 @@ class CommandPresetSpecificationsForBack : MiXCRCommand(), MiXCRPresetAwareComma
output.toAbsolutePath().parent.toFile().mkdirs()
val preset = if (InputFileType.YAML.matches(Path.of(input))) {
K_YAML_OM.readValue(Path.of(input).toFile())
} else if (InputFileType.JSON.matches(Path.of(input))) {
K_JSON_OM.readValue(Path.of(input).toFile())
} else {
paramsResolver.resolve(
MiXCRParamsSpec(input),
Expand Down

0 comments on commit 2254b57

Please sign in to comment.