Skip to content

Commit 1c07aa0

Browse files
committed
ruff format
1 parent e6e8fd0 commit 1c07aa0

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

bbconf/models/bed_models.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,10 @@ class BedPEPHub(BaseModel):
9696
)
9797
tissue: str | None = Field("", description="Tissue type")
9898
global_sample_id: str | None = Field("", description="Global sample identifier")
99-
global_experiment_id: str | None = Field("", description="Global experiment identifier")
100-
description: str | None = Field("", description="Description of the sample")
99+
global_experiment_id: str | None = Field(
100+
"", description="Global experiment identifier"
101+
)
102+
description: str | None = Field("", description="Description of the sample")
101103

102104
model_config = ConfigDict(extra="allow", populate_by_name=True)
103105

@@ -108,7 +110,9 @@ class StandardMeta(BaseModel):
108110
"""
109111

110112
species_name: str | None = Field(
111-
default=None, description="Name of species. e.g. Homo sapiens.", alias="organism"
113+
default=None,
114+
description="Name of species. e.g. Homo sapiens.",
115+
alias="organism",
112116
)
113117
species_id: str = ""
114118
genotype: str = Field("", description="Genotype of the sample")
@@ -125,11 +129,15 @@ class StandardMeta(BaseModel):
125129
)
126130
tissue: str | None = Field(None, description="Tissue type")
127131

128-
library_source: str | None = Field(None, description="Library source (e.g. genomic, transcriptomic)")
132+
library_source: str | None = Field(
133+
None, description="Library source (e.g. genomic, transcriptomic)"
134+
)
129135
assay: str | None = Field(None, description="Experimental protocol (e.g. ChIP-seq)")
130136
antibody: str | None = Field(None, description="Antibody used in the assay")
131137
target: str | None = Field(None, description="Target of the assay (e.g. H3K4me3)")
132-
treatment: str | None = Field(None, description="Treatment of the sample (e.g. drug treatment)")
138+
treatment: str | None = Field(
139+
None, description="Treatment of the sample (e.g. drug treatment)"
140+
)
133141

134142
global_sample_id: list[str] | None = Field(
135143
None, description="Global sample identifier. e.g. GSM000"

0 commit comments

Comments
 (0)