aboutsummaryrefslogtreecommitdiff
path: root/jwstdp/utils
diff options
context:
space:
mode:
authorMatt Rendina <mrendina@stsci.edu>2019-11-08 14:58:42 -0500
committerMatt Rendina <mrendina@stsci.edu>2019-11-08 14:58:42 -0500
commit8c181859ffbe02908f2e72fca81dd322c8f6c4a1 (patch)
tree9c4cb5a26a0e9ffdc1603173f868e0f47275f7b7 /jwstdp/utils
parent5992b2f9609a1b9e2d21af9ef3ba566b3c77a511 (diff)
downloadastroconda-releases-testing-8c181859ffbe02908f2e72fca81dd322c8f6c4a1.tar.gz
Move parameters that may (infrequently) change in jwst_delivery_prep tool to top of code.
Diffstat (limited to 'jwstdp/utils')
-rwxr-xr-xjwstdp/utils/jwst_delivery_prep8
1 files changed, 4 insertions, 4 deletions
diff --git a/jwstdp/utils/jwst_delivery_prep b/jwstdp/utils/jwst_delivery_prep
index 686002c..a845c90 100755
--- a/jwstdp/utils/jwst_delivery_prep
+++ b/jwstdp/utils/jwst_delivery_prep
@@ -13,8 +13,11 @@ import subprocess as sp
from urllib import request
import re
-
+# TODO: Take from config file.
artifact_prefixes = ['conda_python_', 'reqs_']
+art_url_base = 'https://bytesalad.stsci.edu/artifactory'
+art_repo = 'jwst-pipeline-results'
+
def modify_dep(line, text):
'''Replace value appearing after the last '@' in the pip
@@ -150,9 +153,6 @@ def main():
config_map = {'Linux':'',
'Macos':''}
- # TODO: Take from config file.
- art_url_base = 'https://bytesalad.stsci.edu/artifactory'
- art_repo = 'jwst-pipeline-results'
artifacts = get_artifact_names(f'{art_url_base}/{art_repo}')