Skip to content

Commit 631591f

Browse files
committed
warning >5000
1 parent a563100 commit 631591f

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
## 日本語
44

55
* 生命情報・DDBJ センター
6-
* 公開日: 2025-02-27
7-
* version: v3.3
6+
* 公開日: 2025-05-19
7+
* version: v3.4
88

99
[Bioinformation and DDBJ Center](https://www.ddbj.nig.ac.jp/index-e.html) のデータベースに登録するためのメタデータ XML を生成、チェックするツール。
1010
* [DDBJ Sequence Read Archive (DRA)](https://www.ddbj.nig.ac.jp/dra/submission.html): Submission、Experiment、Run と Analysis (任意) XML を生成・チェックするためのエクセルとスクリプト
@@ -13,6 +13,7 @@
1313

1414
## 履歴
1515

16+
* 2025-05-19: v3.4 5000 以上のオブジェクト数でワーニング
1617
* 2025-02-27: v3.3 Organization bug fix
1718
* 2025-01-16: v3.2 TEL 削除
1819
* 2024-10-23: v3.1 Library Source SINGLE CELL
@@ -330,8 +331,8 @@ TBD
330331
## English
331332

332333
* Bioinformation and DDBJ Center
333-
* release: 2025-02-27
334-
* version: v3.3
334+
* release: 2025-05-19
335+
* version: v3.4
335336

336337
These files are Excel, container images and tools for generation and validation of metadata XML files for databases of [Bioinformation and DDBJ Center](https://www.ddbj.nig.ac.jp/index-e.html).
337338
* [DDBJ Sequence Read Archive (DRA)](https://www.ddbj.nig.ac.jp/dra/submission-e.html): generate and check Submission, Experiment and Run XML files.
@@ -340,6 +341,7 @@ These files are Excel, container images and tools for generation and validation
340341

341342
## History
342343

344+
* 2025-05-19: v3.4 Warning to objects > 5000
343345
* 2025-02-27: v3.3 Organization bug fix
344346
* 2025-01-16: v3.2 TEL removed
345347
* 2024-10-23: v3.1 Library Source SINGLE CELL

exe/excel2xml_dra

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ require 'date'
1919
# 2023-11-21 version 2.1 Analysis reference to Run
2020
# 2023-12-21 version 2.2 center name changes
2121
# 2024-07-05 version 3.0 new sheet names with DB prefixes
22+
# 2025-05-19 version 3.1 Warnings to >5,000 objects
2223
#
2324

2425
# Options
@@ -273,6 +274,11 @@ unless analysis_only
273274
end
274275
end
275276

277+
## Warnings to >5000 Exp/Run
278+
puts "\nWARNING: More than 5,000 Experiments. Split your submission to keep the number of Experiments <= 5,000" if experiments_a.size > 5000
279+
puts "\nWARNING: More than 5,000 Runs. Split your submission to keep the number of Runs <= 5,000" if runs_a.size > 5000
280+
puts "\nWARNING: More than 5,000 Analyses. Split your submission to keep the number of Analyses <= 5,000" if analyses_a.size > 5000
281+
276282
## Create XML
277283
prefix = submission_id + "_"
278284

0 commit comments

Comments
 (0)