galaxyproject / galaxyproject/galaxy

Collection order is ~~the reverse of what is expected~~ not obvious

Open
#10,568 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.9k
Forks
1.2k
Avg merge
2d 16h
Merged PRs (30d)
169

Description

Datasets in a collection are ordered by dataset index in reverse:

![image](https://user-images.githubusercontent.com/32272674/97427185-879a2a80-1914-11eb-900c-7d866f34dc70.png)

If I now use the collection in a tool which depends on collection order, the datasets will be ordered as they are shown above, i.e. the first dataset is 153, the second is 152, etc. This is unexpected.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the collection ordering shown in the issue and trace where dataset indexes are used to present or pass collection members to a tool. Done means the displayed and tool-consumed order is explicitly consistent with the expected first-to-last dataset order.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.