Skip to content

Commit 06d223c

Browse files
authored
Merge pull request #234 from galaxyproject/dev
Patch release 2.7.5
2 parents 85e908b + b89b350 commit 06d223c

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

abm/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.8.0-dev.1
1+
2.7.5

abm/lib/common.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ def get_keys(d: dict):
255255

256256

257257
def find_history(gi, name_or_id):
258+
history = gi.histories.get_histories(history_id=name_or_id)
259+
if history is not None and len(history) > 0:
260+
return history[0]['id']
258261
history = gi.histories.get_histories(name=name_or_id)
259262
if history is None:
260263
return name_or_id

abm/lib/experiment.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ def test(context: Context, args: list):
9696

9797
def parse_toolid(id:str) -> str:
9898
parts = id.split('/')
99+
if len(parts) < 2:
100+
return f"{id},unknown"
99101
return f"{parts[-2]},{parts[-1]}"
100102

101103

abm/lib/job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,5 @@ def rerun(context: Context, args: list):
157157
print("ERROR: no job ID provided")
158158
return
159159
gi = connect(context)
160-
result = gi.jobs.rerun_job(args[0])
160+
result = gi.jobs.rerun_job(args[0], remap=True)
161161
print_json(result)

0 commit comments

Comments
 (0)