Skip to content

Commit 9cd3a6b

Browse files
committed
fixed performance regex
1 parent 53c73d7 commit 9cd3a6b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sasctl/tasks.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ def get_version(x):
161161
else:
162162
raise ValueError("Unrecognized version '%s'." % version)
163163

164-
#
165-
166164
# TODO: get ID of correct model version
167165
# if version != new, get existing model
168166
# get model (modelVersions) rel
@@ -512,7 +510,7 @@ def update_performance(data, model, label, refresh=True):
512510
url = '{}://{}/{}-http/'.format(sess._settings['protocol'],
513511
sess.hostname,
514512
cas_id)
515-
regex = r'{}_(\d)_*_{}'.format(table_prefix,
513+
regex = r'{}_(\d)_.*_{}'.format(table_prefix,
516514
model_obj.id)
517515

518516
# Upload the performance data to CAS

0 commit comments

Comments
 (0)