Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions VERSIONLOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Scilifelab_epps Version Log

## 20251105.1

Fix bugs in ONT couchdb connections

## 20251104.1

Update EPP for generating ONT samplesheets so that periods in the kitname are replaced by dashes.
Expand Down
2 changes: 1 addition & 1 deletion scripts/ont_send_reloading_info_to_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_ONT_db() -> tuple[cloudant_v1.CloudantV1, str]:
config["statusdb"].get("username"), config["statusdb"].get("password")
)
)
cloudant.set_service_url(config["statusdb"].get("url"))
cloudant.set_service_url(f"https://{config['statusdb'].get('url')}")

return (cloudant, "nanopore_runs")

Expand Down
2 changes: 1 addition & 1 deletion scripts/ont_sync_to_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def write_to_doc(
doc["lims"]["loading"] = []
doc["lims"]["loading"].append(dict_to_add)

client.put_document(db=db, doc_id=doc["id"], document=doc).get_result()
client.put_document(db=db, doc_id=doc["_id"], document=doc).get_result()


def sync_runs_to_db(process: Process, args: Namespace, lims: Lims):
Expand Down