Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 8f6c3fd

Browse files
committed
fix: remove ChromatographyColumnDocument which is undefined
1 parent 84b927c commit 8f6c3fd

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

src/catplus-common/src/models/agilent.rs

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ impl InsertIntoGraph for MeasurementAggregateDocument {
100100
pub struct MeasurementDocument {
101101
#[serde(rename = "measurement identifier")]
102102
pub measurement_identifier: String,
103-
// TO-DO: needs further definition to be integrated
104-
// #[serde(rename = "chromatography column document")]
105-
// pub chromatography_column_document: ChromatographyColumnDocument,
106103
#[serde(rename = "device control aggregate document")]
107104
pub device_control_aggregate_document: DeviceSystemDocument,
108105
#[serde(rename = "sample document")]
@@ -148,23 +145,6 @@ impl InsertIntoGraph for MeasurementDocument {
148145
}
149146
}
150147

151-
#[derive(Clone, Debug, Serialize, Deserialize)]
152-
pub struct ChromatographyColumnDocument {}
153-
154-
impl InsertIntoGraph for ChromatographyColumnDocument {
155-
fn insert_into(&self, graph: &mut LightGraph, iri: SimpleTerm) -> anyhow::Result<()> {
156-
for (pred, value) in
157-
[(rdf::type_, &cat::ChromatographyColumnDocument.as_simple() as &dyn InsertIntoGraph)]
158-
{
159-
value.attach_into(
160-
graph,
161-
Link { source_iri: iri.clone(), pred: pred.as_simple(), target_iri: None },
162-
)?;
163-
}
164-
Ok(())
165-
}
166-
}
167-
168148
#[derive(Clone, Debug, Serialize, Deserialize)]
169149
pub struct DeviceSystemDocument {
170150
#[serde(alias = "device document", alias = "device control document")]

0 commit comments

Comments
 (0)