Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit 4302e60

Browse files
committed
updated the output file names
1 parent c15425c commit 4302e60

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/scrap_atlas.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@
9595
API_BASE: str = "https://www.dsimb.inserm.fr/ATLAS/api/ATLAS/metadata/"
9696
BASE_URL: str = "https://www.dsimb.inserm.fr/ATLAS/database/ATLAS/"
9797

98-
FILES_PARQUET = "ATLAS_files.parquet"
99-
METADATA_PARQUET = "ATLAS_metadata.parquet"
100-
OUTPUT_DIR = "output"
98+
FILES_PARQUET = "atlas_files.parquet"
99+
METADATA_PARQUET = "atlas_datasets.parquet"
100+
OUTPUT_DIR = "data/atlas"
101101

102102
MAX_CONCURRENT_REQUESTS: int = 10
103103
REQUEST_DELAY: float = 0.05 # polite delay (seconds)
@@ -125,7 +125,7 @@
125125
SequenceStr = Annotated[str, StringConstraints(pattern=r"^[ACDEFGHIKLMNPQRSTVWY]+$")]
126126

127127
class DatasetRecord(BaseModel):
128-
source: constr(min_length=1) = "ATLAS"
128+
source: str = "ATLAS"
129129
source_id: constr(min_length=1)
130130
data_set_url: HttpUrl
131131
title: constr(min_length=1)

0 commit comments

Comments
 (0)