mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 12:13:33 +08:00
Bugfix: Copying datasets to existing and new history at same time.
Previously would give error about set not having an append method.
This commit is contained in:
@@ -1000,7 +1000,7 @@ class DatasetInterface( BaseUIController, UsesAnnotations, UsesHistoryMixin, Use
|
||||
elif target_history_ids:
|
||||
if not isinstance( target_history_ids, list ):
|
||||
target_history_ids = target_history_ids.split(",")
|
||||
target_history_ids = set([ trans.security.decode_id(h) for h in target_history_ids if h ])
|
||||
target_history_ids = list(set([ trans.security.decode_id(h) for h in target_history_ids if h ]))
|
||||
else:
|
||||
target_history_ids = []
|
||||
done_msg = error_msg = ""
|
||||
|
||||
Reference in New Issue
Block a user