gdex-api-client 2.0.1__tar.gz → 2.0.2__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.
- {gdex_api_client-2.0.1/src/gdex_api_client.egg-info → gdex_api_client-2.0.2}/PKG-INFO +1 -1
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/pyproject.toml +1 -1
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client/gdex_client.py +1 -12
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2/src/gdex_api_client.egg-info}/PKG-INFO +1 -1
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/LICENSE +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/docs/README.md +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/setup.cfg +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client/__init__.py +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/SOURCES.txt +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/dependency_links.txt +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/entry_points.txt +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/requires.txt +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/top_level.txt +0 -0
- {gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/test/test_rdams_client.py +0 -0
|
@@ -67,17 +67,6 @@ def query(args=None):
|
|
|
67
67
|
print(json.dumps(result, indent=3))
|
|
68
68
|
return result
|
|
69
69
|
|
|
70
|
-
def add_ds_str(ds_num):
|
|
71
|
-
"""Adds 'ds' to ds_num if needed.
|
|
72
|
-
Throws error if ds number isn't valid.
|
|
73
|
-
"""
|
|
74
|
-
ds_num = ds_num.strip()
|
|
75
|
-
if ds_num[0:2] != 'ds':
|
|
76
|
-
ds_num = 'ds' + ds_num
|
|
77
|
-
if len(ds_num) != 7:
|
|
78
|
-
print("'" + ds_num + "' is not valid.")
|
|
79
|
-
sys.exit()
|
|
80
|
-
return ds_num
|
|
81
70
|
|
|
82
71
|
def get_userinfo():
|
|
83
72
|
"""Get token from command line."""
|
|
@@ -514,7 +503,7 @@ def write_control_file_template(ds, write_location='./'):
|
|
|
514
503
|
_json = get_control_file_template(ds)
|
|
515
504
|
control_str = _json['data']['template']
|
|
516
505
|
|
|
517
|
-
template_filename = write_location +
|
|
506
|
+
template_filename = write_location + ds + '_control.ctl'
|
|
518
507
|
if os.path.exists(template_filename):
|
|
519
508
|
print(template_filename + " already exists.\nExiting")
|
|
520
509
|
exit(1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{gdex_api_client-2.0.1 → gdex_api_client-2.0.2}/src/gdex_api_client.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|