From 8c181859ffbe02908f2e72fca81dd322c8f6c4a1 Mon Sep 17 00:00:00 2001 From: Matt Rendina Date: Fri, 8 Nov 2019 14:58:42 -0500 Subject: Move parameters that may (infrequently) change in jwst_delivery_prep tool to top of code. --- jwstdp/utils/jwst_delivery_prep | 8 ++++---- 1 file 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}') -- cgit