identifiers-org / identifiers-org.github.io

MIT License
8 stars 1 forks source link

Issue with MGE provider #153

Closed cthoyt closed 1 year ago

cthoyt commented 3 years ago

The mge provider has the wrong format URL.

Actual: http://aclame.ulb.ac.be/perl/Aclame/Genomes/mge_view.cgi?view=info&id=mge:{$id} Expected: http://aclame.ulb.ac.be/perl/Aclame/Genomes/mge_view.cgi?view=info&id={$id}

Example: http://aclame.ulb.ac.be/perl/Aclame/Genomes/mge_view.cgi?view=info&id=00000063

renatocjn commented 1 year ago

I'm getting connection timeouts. Perhaps it went offline?

cthoyt commented 1 year ago

Same here, it seems to have been dead for a long time. The Bioregistry has an automated weekly health check for all prefixes that we can look into to see if it's dead or maybe just an issue today. Here's what it's been saying for the last few months, it seems to be consistently down:

date working
2023-01-01 False
2022-12-25 False
2022-12-18 False
2022-12-11 False
2022-12-04 False
2022-11-27 False
2022-11-20 False
2022-11-13 False
2022-11-06 False
2022-10-30 False
2022-10-23 False
2022-10-16 False
2022-10-09 False
2022-10-02 False
2022-09-28 False
2022-09-28 False
2022-09-28 False
2022-09-28 False

Code:

import yaml
import requests
from tabulate import tabulate

res = requests.get("https://raw.githubusercontent.com/biopragmatics/bioregistry/main/docs/_data/health.yaml")
data = yaml.safe_load(res.text)
rv = []
for run in data["runs"]:
    for result in run["results"]:
        if result["prefix"] == "mge":
            rv.append((run["date"], result.get("status_code") == 200))

print(tabulate(rv, headers=["date", "working"], tablefmt="github"))
renatocjn commented 1 year ago

I'm going to deactivate this namespace. I can't find anything online about a relocation nor can I contact the people involved. Thank you @cthoyt for bring this up.