Ticket #3 (closed enhancement: fixed)

Opened 5 years ago

Last modified 5 years ago

Map the feature column of a peak list to features in a platform

Reported by: business@… Owned by: m.s.vanvliet@…
Priority: minor Milestone:
Component: File Interpretation Version:
Keywords: Cc:


Change History

comment:1 Changed 5 years ago by m.s.vanvliet@…

  • Owner set to m.s.vanvliet@…
  • Status changed from new to assigned

comment:2 Changed 5 years ago by m.s.vanvliet@…

  • Status changed from assigned to accepted

comment:3 Changed 5 years ago by business@…

  • Component changed from Feature linking to Data Interpretation

comment:4 Changed 5 years ago by business@…

  • Type changed from user story to enhancement

When feature list is chosen as file type, the user should choose the target platform (also giving the possibility to create a new one) and be able to add a comment describing this version of the platform.
The feature list automatically gets a new version number for that platform.

Current uploaded peak files that are already assigned to an earlier version of the platform should not be updated automatically, as this may change the mapping (and most probably the peak list was indeed created using the older platform version).

For now, just the user that uploaded the peak list should be able to modify it. Uploading a new version of a platform is open to everyone for now.

comment:5 Changed 5 years ago by work@…

Default colors used by the uploadr plugin are now as follows:

colorpickr colors
colorPickerColors : [

'#bce08a', default green
'#ff6418', orange
'#ffcb00', yellow


I guess it would be best to stick to these colors. I suggest the newly uploaded file to be a lighter shade of green, for example: #ddeec1

Also, to give a file a color when building up the uploadr field, you can do that by adding a 'color' argument to a 'file', e.g.:

<% path.listFiles().each { file -> %>

<uploadr:file name="${file.name}">

<uploadr:fileId>myId-${RandomStringUtils?.random(32, true, true)}</uploadr:fileId>
<uploadr:ratingText>This is the tooltip text of the rating for ${file.name}</uploadr:ratingText>


<% } %>

Also, when a new file has been uploaded, it will get the default green color. To override this behaviour you can use the 'onSuccess' event handler as follows:


console.log('done uploading \ + file.fileName + '\);

do some stuff

override the background to light green
$('.progress',domObj).css('background-color', '#ddeec1');
console.log('and overrided the background color to #ddeec1');

and set the rating tooltip text for the rating
file.fileRatingText = 'you just uploaded this file and in the onSuccess handler the rating tooltip text is added';

callback when doen


Note that the color for newly uploaded files should also be set when setting up the file uploadr... (see the uploadr:file above)

comment:6 Changed 5 years ago by work@…

also see <uploadr:demo/> for more details / information / demo's....

comment:7 Changed 5 years ago by work@…

sorry... these comments were for ticket #15...

comment:8 Changed 5 years ago by business@…

  • Priority changed from major to minor

comment:9 Changed 5 years ago by s.h.sikkema@…

Current status:

  • on assay page, there can be seen which data columns are mapped to which features
  • rest controller for now still works with data column headers (getMeasurements returns them and getMeasurementData uses them)
  • UploadedFileService?.getDataColumnHeaders returns headers from data
  • UploadedFileService?.getFeatureNames returns overlap between headers and features

comment:10 Changed 5 years ago by business@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Works beautifully

Note: See TracTickets for help on using tickets.