Skip to content

Commit 64d513f

Browse files
authored
Merge pull request #190 from galaxyproject/dev
Release 2.3.1
2 parents d749a40 + 14c7e2f commit 64d513f

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

abm/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.4.0-dev0

abm/lib/experiment.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,10 @@ def summarize(context: Context, args: list):
147147
if not os.path.isfile(input_path) or not input_path.endswith('.json'):
148148
continue
149149
try:
150-
print(f"Loading {input_path}")
151150
with open(input_path, 'r') as f:
152151
data = json.load(f)
153-
if data['job_metrics']['tool_id'] == 'upload1':
154-
print('Ignoring upload tool')
152+
if data['metrics']['tool_id'] == 'upload1':
153+
#print('Ignoring upload tool')
155154
continue
156155
row = make_row(data)
157156
print(separator.join([ str(x) for x in row]))
@@ -167,15 +166,15 @@ def summarize(context: Context, args: list):
167166

168167
def make_table_row(data: dict):
169168
row = [ str(data[key]) for key in ['run', 'cloud', 'job_conf', 'workflow_id', 'history_id', 'inputs']]
170-
row.append(parse_toolid(data['job_metrics']['tool_id']))
171-
row.append(data['job_metrics']['state'])
172-
for e in _get_metrics(data['job_metrics']['job_metrics']):
169+
row.append(parse_toolid(data['metrics']['tool_id']))
170+
row.append(data['metrics']['state'])
171+
for e in _get_metrics(data['metrics']['job_metrics']):
173172
row.append(e)
174173
return row
175174

176175

177176
def make_model_row(data: dict):
178-
metrics = data['job_metrics']
177+
metrics = data['metrics']
179178
row = []
180179
row.append(metrics['id'])
181180
tool_id = metrics['tool_id']

0 commit comments

Comments
 (0)