You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the integration pipeline, either as a full run, a partial run, or by resuming an existing run.
7
+
Run the full ETL/integration pipeline, a partial pipeline, a single stage, or resume an existing run.
8
8
9
9
**Options**
10
10
11
-
*`--tag TEXT` — append a tag to the run ID.
11
+
*`--tag TEXT` — append a tag to the generated run ID.
12
12
*`--resume-run TEXT` — resume an existing run by run ID or run directory path.
13
13
*`--no-merge` — skip the `merge` stage.
14
14
*`--no-human-updates` — skip the `human_updates` stage.
15
-
*`--remove-opeb-metrics` — enable the `remove_opeb_metrics` stage.
16
-
*`--from-stage {transformation,grouping,remove_opeb_metrics,conflict_detection,simplify_blocks,json_to_jsonl,disambiguation,human_updates,merge,stats}` — start the pipeline from this stage.
17
-
*`--until {transformation,grouping,remove_opeb_metrics,conflict_detection,simplify_blocks,json_to_jsonl,disambiguation,human_updates,merge,stats}` — run until this stage, inclusive.
18
-
*`--only {transformation,grouping,remove_opeb_metrics,conflict_detection,simplify_blocks,json_to_jsonl,disambiguation,human_updates,merge,stats}` — run only one stage.
19
-
*`--python-exe PATH` — Python executable for subprocesses (default: `python`).
20
-
*`--workdir PATH` — working directory (default: `.`).
21
-
*`--runs-root PATH` — root folder for versioned outputs (default: `data/integration/runs`).
15
+
*`--remove-opeb-metrics` — disable removal of OEB metrics.
16
+
*`--dry-run-disambiguation` — run disambiguation without creating conflict files or GitHub issues.
17
+
*`--from-stage STAGE` — start the pipeline from this stage.
18
+
*`--until STAGE` — run the pipeline until this stage, inclusive.
19
+
*`--only STAGE` — run only one stage.
20
+
*`--python-exe PATH` — Python executable for subprocesses. Default: `python`.
21
+
*`--workdir PATH` — working directory. Default: `.`.
22
+
*`--runs-root PATH` — root folder for run outputs. Default: `data/integration/runs`.
22
23
23
24
**Stages**
24
25
25
-
The pipeline supports the following stage names:
26
+
The pipeline supports the following stage names, in order:
26
27
27
28
*`transformation`
29
+
*`license-normalization`
28
30
*`grouping`
29
31
*`remove_opeb_metrics`
30
32
*`conflict_detection`
@@ -34,85 +36,155 @@ The pipeline supports the following stage names:
34
36
*`human_updates`
35
37
*`merge`
36
38
*`stats`
39
+
*`fairsoft`
37
40
38
41
**Examples**
39
42
40
43
```bash
41
-
#standard run
44
+
#Standard full run
42
45
rsetl run
43
46
44
-
#run with tag and skip database merge
45
-
rsetl run --tag 2025Q4 --no-merge
47
+
#Run with a tag
48
+
rsetl run --tag 2026Q2
46
49
47
-
#remove OEB metrics and change output directory
48
-
rsetl run --remove-opeb-metrics --runs-root /data/rso/runs
50
+
#Run without merging results into the database
51
+
rsetl run --tag test-run --no-merge
49
52
50
-
#stop after disambiguation, before manual annotations are applied
51
-
rsetl run --until disambiguation --remove-opeb-metrics --tag pre-annotation
53
+
#Run until disambiguation
54
+
rsetl run --until disambiguation --tag pre-human-review
52
55
53
-
# resume an existing run from human updates onward
54
-
rsetl run --resume-run 20260325T103000Z-ab12cd-pre-annotation --from-stage human_updates
*`--tag` cannot be used together with `--resume-run`.
63
75
* When `--resume-run` is used, the existing run directory and run ID are reused.
64
-
* Resumed runs append execution information to the existing `manifest.json`.
76
+
* Resumed runs append a new execution record to the existing `manifest.json`.
77
+
* When resuming, required input files for the selected stages must already exist.
78
+
* The `remove_opeb_metrics`, `human_updates`, and `merge` stages can be skipped with their corresponding options.
79
+
*`--dry-run-disambiguation` only affects the `disambiguation` stage.
65
80
66
81
---
67
82
68
83
### `rsetl run-transformation`
69
84
70
85
Run only the transformation step.
71
86
72
-
This command executes the transformation stage independently and creates a versioned run directory with provenance metadata, similarly to the full pipeline.
87
+
This command executes transformation independently and creates a versioned run directory with provenance metadata.
73
88
74
89
**Options**
75
90
76
-
*`--tag TEXT` — append a tag to the run ID.
77
-
*`--sources TEXT` — sources passed to the transformation step (default: `all`).
78
-
*`--python-exe PATH` — Python executable for subprocesses (default: `python`).
79
-
*`--workdir PATH` — working directory (default: `.`).
80
-
*`--runs-root PATH` — root folder for versioned outputs (default: `data/integration/runs`).
91
+
*`--tag TEXT` — append a tag to the generated run ID.
92
+
*`--sources TEXT` — sources passed to the transformation step. Default: `all`.
93
+
*`--python-exe PATH` — Python executable for subprocesses. Default: `python`.
94
+
*`--workdir PATH` — working directory. Default: `.`.
95
+
*`--runs-root PATH` — root folder for run outputs. Default: `data/integration/runs`.
81
96
82
97
**Examples**
83
98
84
99
```bash
85
-
#run only transformation with default sources
100
+
#Run transformation with default sources
86
101
rsetl run-transformation
87
102
88
-
#run only transformation with a custom tag
103
+
#Run transformation with a custom tag
89
104
rsetl run-transformation --tag test1
90
105
91
-
# run only transformation with a custom output directory
Enrich publication metadata and citation counts using Europe PMC.
118
+
119
+
This command delegates to the publication enrichment adapter and can update MongoDB, write a JSONL cache, or run in inspection/dry-run modes depending on the options passed.
# Check the effective configuration without running
152
+
rsetl enrich-publications --dry-run
153
+
```
154
+
155
+
---
156
+
157
+
### `rsetl run-webavailability`
158
+
159
+
Run the daily web availability update and ensure ToolsDev URLs exist.
160
+
161
+
Additional arguments are passed through to the web availability job.
162
+
163
+
**Example**
164
+
165
+
```bash
166
+
rsetl run-webavailability
167
+
```
168
+
169
+
---
170
+
97
171
### `rsetl runs list`
98
172
99
173
List available pipeline runs.
100
174
101
-
Shows a compact summary of existing run directories, including whether they contain a manifest, whether disambiguation output exists, and the latest executed stages.
175
+
Shows a compact summary including run ID, update time, manifest availability, disambiguation output availability, resumability, execution count, and latest executed stages.
102
176
103
177
**Options**
104
178
105
-
*`--workdir PATH` — working directory (default: `.`).
106
-
*`--runs-root PATH` — root folder for versioned outputs (default: `data/integration/runs`).
179
+
*`--workdir PATH` — working directory. Default: `.`.
180
+
*`--runs-root PATH` — root folder for run outputs. Default: `data/integration/runs`.
107
181
*`--json` — output the run list as JSON.
108
182
109
183
**Examples**
110
184
111
185
```bash
112
-
# list runs in table format
113
186
rsetl runs list
114
187
115
-
# list runs as JSON
116
188
rsetl runs list --json
117
189
```
118
190
@@ -122,60 +194,53 @@ rsetl runs list --json
122
194
123
195
Show details for a specific run.
124
196
125
-
By default this prints a human-readable summary including run metadata, latest execution information, paths, and latest options.
197
+
By default this prints a human-readable summary with run metadata, latest execution information, paths, and latest options.
126
198
127
199
**Arguments**
128
200
129
201
*`run_ref` — run ID or full run directory path.
130
202
131
203
**Options**
132
204
133
-
*`--workdir PATH` — working directory (default: `.`).
134
-
*`--runs-root PATH` — root folder for versioned outputs (default: `data/integration/runs`).
205
+
*`--workdir PATH` — working directory. Default: `.`.
206
+
*`--runs-root PATH` — root folder for run outputs. Default: `data/integration/runs`.
135
207
*`--json` — output the full manifest as JSON.
136
208
137
209
**Examples**
138
210
139
211
```bash
140
-
# show one run by run ID
141
-
rsetl runs show 20260325T103000Z-ab12cd-pre-annotation
212
+
rsetl runs show 20260428T090000Z-ab12cd-pre-human-review
142
213
143
-
# show one run by full path
144
-
rsetl runs show /data/rso/runs/20260325T103000Z-ab12cd-pre-annotation
214
+
rsetl runs show /data/rso/runs/20260428T090000Z-ab12cd-pre-human-review
145
215
146
-
# show manifest as JSON
147
-
rsetl runs show 20260325T103000Z-ab12cd-pre-annotation --json
216
+
rsetl runs show 20260428T090000Z-ab12cd-pre-human-review --json
148
217
```
149
218
150
219
---
151
220
152
221
### `rsetl runs latest`
153
222
154
-
Show the most recent run.
155
-
156
-
By default this prints a human-readable summary of the latest run.
223
+
Show the latest run.
157
224
158
225
**Options**
159
226
160
-
*`--workdir PATH` — working directory (default: `.`).
161
-
*`--runs-root PATH` — root folder for versioned outputs (default: `data/integration/runs`).
227
+
*`--workdir PATH` — working directory. Default: `.`.
228
+
*`--runs-root PATH` — root folder for run outputs. Default: `data/integration/runs`.
162
229
*`--json` — output the full manifest as JSON.
163
230
164
231
**Examples**
165
232
166
233
```bash
167
-
# show latest run summary
168
234
rsetl runs latest
169
235
170
-
# show latest run as JSON
171
236
rsetl runs latest --json
172
237
```
173
238
174
239
---
175
240
176
241
### `rsetl check-env`
177
242
178
-
Check environment variables and connectivity to MongoDB, external APIs, and tokens.
243
+
Check environment variables and API connectivity.
179
244
180
245
**Example**
181
246
@@ -187,7 +252,8 @@ rsetl check-env
187
252
188
253
## Environment configuration
189
254
190
-
You can store environment variables in a `.env` file instead of exporting them manually.
255
+
The pipeline loads environment variables from a `.env` file if present.
Copy file name to clipboardExpand all lines: docs/installation.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@ Some stages call external services (APIs and model providers); make sure credent
21
21
??? info "Other services used"
22
22
The following services are also accessed in some steps but require no credentials:
23
23
24
-
- [Observatory REST API](https://observatory.openebench.bsc.es/api/docs): for FAIRness evaluation
25
24
- [Licenses-mapping API](https://observatory.openebench.bsc.es/licenses-mapping/docs): for SPDX license normalization
26
25
- [Europe PMC](https://europepmc.org/RestfulWebService) and [Semantic Scholar](https://www.semanticscholar.org/product/api) APIs: for publication enrichment
0 commit comments