aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPjotr Prins2020-09-27 07:55:33 -0500
committerPjotr Prins2020-09-27 07:55:33 -0500
commite64c1084caf9a8fe0ebca1b01d9353533f65f2ee (patch)
tree43e8ae7bf0b1164c81fc84526c2253cee9aa10d0
parent7a2ab0791c75ee68373d3615e2ec828d58f741bb (diff)
downloadbh20-seq-resource-e64c1084caf9a8fe0ebca1b01d9353533f65f2ee.tar.gz
bh20-seq-resource-e64c1084caf9a8fe0ebca1b01d9353533f65f2ee.tar.lz
bh20-seq-resource-e64c1084caf9a8fe0ebca1b01d9353533f65f2ee.zip
Virtuoso uploader: instructions
-rwxr-xr-xscripts/update_virtuoso/check_for_updates.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/update_virtuoso/check_for_updates.py b/scripts/update_virtuoso/check_for_updates.py
index 37dec1a..8761c8a 100755
--- a/scripts/update_virtuoso/check_for_updates.py
+++ b/scripts/update_virtuoso/check_for_updates.py
@@ -1,12 +1,13 @@
#! /usr/bin/env python3
#
-# Check for updates on Arvados, pull the TTL and
-# push into Virtuoso
+# Check for updates on Arvados, pull the TTL and push into Virtuoso
#
# You can run this in a Guix container with
#
-# ~/opt/guix/bin/guix environment -C guix --ad-hoc python python-requests curl --network -- python3 ./scripts/update_virtuoso/check_for_updates.py cache.txt dba dba
-
+# ~/opt/guix/bin/guix environment -C guix --ad-hoc python python-requests curl --network -- python3 ./scripts/update_virtuoso/check_for_updates.py cache.txt dba dba
+#
+# Note you'll need to run from the root dir. Remove the ./cache.txt file if you want to force an update.
+#
import requests
import time
import sys