Skip to content

Commit

Permalink
fix: docs links (#847)
Browse files Browse the repository at this point in the history
closes #820
closes #821
  • Loading branch information
dwinston authored Dec 17, 2024
1 parent aa087f9 commit 2bd127e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/howto-guides/claim-and-run-jobs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
The Runtime advertises jobs to be done, where a [Job](https://api.microbiomedata.org/docs#/jobs)
is a [Workflow](https://api.microbiomedata.org/docs#/workflows) paired with a chosen input
[Object](https://api.microbiomedata.org/docs#/objects). See [Guide - Create Workflow Triggers To
Spawn Jobs](guide-create-triggers.md) to learn how to arrange for jobs of interest to be
Spawn Jobs](create-triggers.md) to learn how to arrange for jobs of interest to be
automatically available when relevant new workflow inputs are available.

You can list open jobs via [`GET /jobs`](https://api.microbiomedata.org/docs#/jobs/list_jobs_jobs_get). To
Expand Down
6 changes: 3 additions & 3 deletions docs/howto-guides/jobs/gold-translation-etl.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# GOLD Translation ETL


This job takes a `nmdc_merged_data.tsv.zip` file as a data object input.

First, start your local runtime stack:
Expand All @@ -13,7 +12,6 @@ Load <http://localhost:3000/workspace> and ensure the `translation` repository i

![dagster-workspace-repo-loaded](../../img/dagster-workspace-repo-loaded.png)


Next, navigate to the Jobs page for the `translation` repository:

![dagster-translation-repo-jobs](../../img/dagster-translation-repo-jobs.png)
Expand Down Expand Up @@ -53,12 +51,13 @@ mongoexport --host="localhost:27018" \
-d nmdc_etl_staging -c gold.biosample_set \
--jsonArray -o gold.biosample_set.json
```

```
jq '{biosample_set:.}' gold.biosample_set.json \
> gold.biosample_set.as_nmdcdb.2021-11-18.json
```

Now, you may [submit this metadata as JSON through the API](../tutorials/tutorial-metadata-in.md).
Now, you may [submit this metadata as JSON through the API](../../tutorials/metadata-in.md)

In the tutorial linked to above, GitHub's Gist service is used to host and obtain a URL for the
JSON. Here's let's walk through using the NMDC's `www` directory on NERSC to host the file and
Expand All @@ -70,6 +69,7 @@ a DRS object in the API:
scp gold.biosample_set.as_nmdcdb.2021-11-18.json \
dtn01.nersc.gov:/global/cfs/cdirs/m3408/www/meta/
```

```
ssh dtn01.nersc.gov
Expand Down

0 comments on commit 2bd127e

Please sign in to comment.