casaconfig 0.0.68__tar.gz → 0.0.69__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {casaconfig-0.0.68/casaconfig.egg-info → casaconfig-0.0.69}/PKG-INFO +1 -1
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/measures_update.py +4 -1
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/pull_data.py +3 -1
- {casaconfig-0.0.68 → casaconfig-0.0.69/casaconfig.egg-info}/PKG-INFO +1 -1
- {casaconfig-0.0.68 → casaconfig-0.0.69}/setup.py +1 -1
- {casaconfig-0.0.68 → casaconfig-0.0.69}/LICENSE +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/MANIFEST.in +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/README.md +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/__init__.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/__main__.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/config.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/__init__.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/casasiteconfig.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/config_defaults.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/config_defaults_static.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/data_available.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/data_update.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/do_pull_data.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/get_argparser.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/get_config.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/get_data_info.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/get_data_lock.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/io_redirect.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/measures_available.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/print_log_messages.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/set_casacore_path.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig/private/update_all.py +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig.egg-info/SOURCES.txt +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig.egg-info/dependency_links.txt +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig.egg-info/requires.txt +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/casaconfig.egg-info/top_level.txt +0 -0
- {casaconfig-0.0.68 → casaconfig-0.0.69}/setup.cfg +0 -0
@@ -119,7 +119,10 @@ def measures_update(path=None, auto_update_rules=False, version=None, force=Fals
|
|
119
119
|
print_log_messages('path must exist as a directory and it must be owned by the user when auto_update_rules is True', logger, True)
|
120
120
|
return
|
121
121
|
|
122
|
-
if not os.path.exists(path):
|
122
|
+
if not os.path.exists(path):
|
123
|
+
# make dirs all the way down, if possible
|
124
|
+
os.makedirs(path)
|
125
|
+
|
123
126
|
current = None
|
124
127
|
updated = None
|
125
128
|
today_string = datetime.today().strftime('%Y-%m-%d')
|
@@ -153,7 +153,9 @@ def pull_data(path=None, version=None, force=False, logger=None):
|
|
153
153
|
print_log_messages('version %s not found on CASA server, use casaconfig.data_available for a list of casarundata versions' % version, logger, True)
|
154
154
|
return
|
155
155
|
|
156
|
-
if not os.path.exists(path):
|
156
|
+
if not os.path.exists(path):
|
157
|
+
# make dirs all the way down path if possible
|
158
|
+
os.makedirs(path)
|
157
159
|
|
158
160
|
# lock the data_update.lock file
|
159
161
|
lock_fd = None
|
@@ -6,7 +6,7 @@ with open('README.md', "r") as fid: #encoding='utf-8'
|
|
6
6
|
|
7
7
|
setup(
|
8
8
|
name='casaconfig',
|
9
|
-
version='0.0.
|
9
|
+
version='0.0.69',
|
10
10
|
description='CASA Operational Configuration Package',
|
11
11
|
long_description=long_description,
|
12
12
|
long_description_content_type="text/markdown",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|