This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"lp_tool_version": "0.1", | |
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | |
"created_date": "2021-02-15T08:40:26.174Z", | |
"authors": [ | |
{ | |
"firstname": "string", | |
"lastname": "string", | |
"affiliation": "string" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# script to update MC links (following KG migration) for all entries in Live Paper HTML pages | |
import sys | |
import logging | |
import re | |
from hbp_validation_framework import ModelCatalog | |
import subprocess | |
from fileinput import FileInput | |
LIVE_PAPER_DIR = "/home/shailesh/gits/hbp-bsp-live-papers-dev" | |
cmd = 'grep -rl "collab.humanbrainproject.eu/#/collab.*state=model." ' + LIVE_PAPER_DIR |