Skip to content

Commit 3e15cd4

Browse files
fix: remove unnecessary deprecation attribute
Co-Authored-By: Claude <noreply@anthropic.com>
1 parent ae4d243 commit 3e15cd4

File tree

5 files changed

+0
-7
lines changed

5 files changed

+0
-7
lines changed

packages/nextclade-schemas/input-pathogen-json.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,6 @@
933933
]
934934
},
935935
"mutationsThreshold": {
936-
"deprecated": true,
937936
"type": [
938937
"integer",
939938
"null"

packages/nextclade-schemas/input-pathogen-json.schema.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,6 @@ definitions:
597597
- $ref: '#/definitions/QcRecombConfigMultiAncestor'
598598
- type: 'null'
599599
mutationsThreshold:
600-
deprecated: true
601600
type:
602601
- integer
603602
- 'null'

packages/nextclade-schemas/nextclade-auspice-extensions.schema.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1192,7 +1192,6 @@
11921192
]
11931193
},
11941194
"mutationsThreshold": {
1195-
"deprecated": true,
11961195
"type": [
11971196
"integer",
11981197
"null"

packages/nextclade-schemas/nextclade-auspice-extensions.schema.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,6 @@ definitions:
756756
- $ref: '#/definitions/QcRecombConfigMultiAncestor'
757757
- type: 'null'
758758
mutationsThreshold:
759-
deprecated: true
760759
type:
761760
- integer
762761
- 'null'

packages/nextclade/src/qc/qc_config.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -378,13 +378,11 @@ pub struct QcRulesConfigRecombinants {
378378
#[serde(default, skip_serializing_if = "Option::is_none")]
379379
pub multi_ancestor: Option<QcRecombConfigMultiAncestor>,
380380

381-
#[deprecated(note = "Use weighted_threshold.threshold instead")]
382381
#[serde(default, skip_serializing_if = "Option::is_none")]
383382
pub mutations_threshold: Option<usize>,
384383
}
385384

386385
impl QcRulesConfigRecombinants {
387-
#[allow(deprecated)]
388386
pub const fn example() -> Self {
389387
Self {
390388
enabled: true,
@@ -398,7 +396,6 @@ impl QcRulesConfigRecombinants {
398396
}
399397
}
400398

401-
#[allow(deprecated)]
402399
pub fn get_weighted_threshold_config(&self) -> QcRecombConfigWeightedThreshold {
403400
if let Some(config) = &self.weighted_threshold {
404401
config.clone()

0 commit comments

Comments
 (0)