1 new commit in galaxy-central:
https://bitbucket.org/galaxy/galaxy-central/changeset/4929a37823b5/ changeset: 4929a37823b5 user: carlfeberhard date: 2012-12-14 17:05:43 summary: api/histories, show: remove get_api_value for each dataset in get_dataset_state_summaries affected #: 1 file
diff -r 742aac57ec941aa89ac7ca07548bf531127bc31b -r 4929a37823b5454178bf811b6b65f2216c7ac4c3 lib/galaxy/webapps/galaxy/api/histories.py --- a/lib/galaxy/webapps/galaxy/api/histories.py +++ b/lib/galaxy/webapps/galaxy/api/histories.py @@ -75,14 +75,10 @@
# cycle through datasets saving each ds' state for dataset in datasets: - dataset_dict = dataset.get_api_value( view='element' ) - item_state = dataset_dict[ 'state' ] - - if not dataset_dict['deleted']: + item_state = dataset.state + if not dataset.deleted: state_counts[ item_state ] = state_counts[ item_state ] + 1 - - state_ids[ item_state ].append( trans.security.encode_id( dataset_dict[ 'id' ] ) ) - + state_ids[ item_state ].append( trans.security.encode_id( dataset.id ) ) return ( state_counts, state_ids )
# try to load the history, by most_recently_used or the given id
Repository URL: https://bitbucket.org/galaxy/galaxy-central/
--
This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
galaxy-commits@lists.galaxyproject.org