API enable copying from one history to another

#199 Merged
Repository
galaxy-cid
Branch
api_copy_history
Repository
galaxy-central
Branch
default
Author
  1. aswarren
Reviewers
Description

Its been a while since I implemented this (hopefully its all here). Copy from one history to another.

Comments (3)

  1. Carl Eberhard

    Hello,

    I'm currently working on merging this pull request. Can you update to the latest default revision and re-apply this change in your repository?

    Thanks

  2. aswarren author

    Hi Carl,

    I have updated this to work with the new source, content structure in history_contents.py. Don't know if there is something more modern than assert trans.user.id == hda.history.user_id, "HistoryDatasetAssocation does not belong to current user" like 'check_ownership' for hda = self.get_dataset(trans, content)

    Cheers, Andrew