aces / cbrain

CBRAIN is a flexible Ruby on Rails framework for accessing and processing of large data on high-performance computing infrastructures.
GNU General Public License v3.0
71 stars 42 forks source link

Link between CONP dataset and CBRAIN userfiles index should only show main dataset. #1161

Closed natacha-beck closed 3 years ago

natacha-beck commented 3 years ago

On CONP we have some links between CONP dataset and CBRAIN userfiles index page.

Example for BigBrain datasets on CONP, if we click on the link to CBRAIN we will obtain 3 differents Dataset mixed together:

Instead of only the BigBrain dataset

The link between CONP and CBRAIN uses the switch action of the groups controller. The group specified on the link contains all 3 datasets but each dataset is stored on a different DataProvider.

I see 2 ways to solve this issue.

  1. Create a group foreach CONP dataset
  2. Or use the switch action of group with extra filters in order to select specific DataProvider.

Note: it is maybe more an issue about the CBRAIN service itself than an issue of CBRAIN (code) depending on which solution we choose.

natacha-beck commented 3 years ago

Note form Cecile:

Only the main dataset should be in CBRAIN and the subdatasets listed in the derivedFrom field of the DATS file should be ignored

prioux commented 3 years ago

If the CONP poeple want to maintain links to internal pages within CBRAIN, that's really their problem. It's not proper semantics, though.

If they would prefer to have one group per data provider, we can create that too, it's not difficult.

This issue shouldn't be here by the way, this has nothing to do with the platform code.

prioux commented 3 years ago

Closing; not appropriate for GitHub. Handled separately.