Skip to content

Commit

Permalink
Add tip to indicate clicking on the column header
Browse files Browse the repository at this point in the history
Co-authored-by: Shraddha Pawar <[email protected]>
  • Loading branch information
KochTobi and Shraddha0903 committed Oct 24, 2024
1 parent 0a24740 commit d4f5250
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,17 @@ public enum NGSMeasurementEditColumn implements Column {
"A visual aid to simplify sample navigation for the person managing the metadata.");
case POOL_GROUP -> new Helper("Free text, e.g. pool group 1",
"A group of samples that are pooled together for a measurement. All samples in a pool group should have the same label.");
case ORGANISATION_ID -> new Helper("ROR URL, e.g. https://ror.org/03a1kwz48",
"A unique identifier of the organisation where the measurement has been conducted.");
case ORGANISATION_ID -> new Helper("ROR URL, e.g. https://ror.org/03a1kwz48", """
A unique identifier of the organisation where the measurement has been conducted.
Tip: You can click on the column header (Organisation ID) to go to the ROR website, search for your organisation and get the Organisation URL.
""");
case ORGANISATION_NAME -> null;
case FACILITY -> new Helper("Free text, e.g. Quantitative Biology Centre",
"The facilities name within the organisation (group name, etc.)");
case INSTRUMENT -> new Helper("CURIE (ontology), e.g. EFO:0008637",
"The instrument used for the measurement. To avoid ambiguities, we expect an ontology term CURIE. You can use our ontology look up search online to query available terms and CURIEs we currently support.");
case INSTRUMENT -> new Helper("CURIE (ontology), e.g. EFO:0008637", """
The instrument that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE (e.g. EFO:0008637)
Tip: You can click on the column header (%s) to go to the Data Manager where you can use our Ontology Search to query the CURIE for your Instrument.
""".formatted(INSTRUMENT.headerName()));
case INSTRUMENT_NAME -> null;
case SEQUENCING_READ_TYPE -> new Helper("Free text, e.g. paired-end",
"The sequencing read type used to generate the sequence data.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,16 @@ public enum NGSMeasurementRegisterColumn implements Column {
"A visual aid to simplify sample navigation for the person managing the metadata. Is ignored after upload.");
case POOL_GROUP -> new Helper("Free text, e.g. pool group 1",
"A group of samples that are pooled together for a measurement. All samples in a pool group should have the same label.");
case ORGANISATION_ID -> new Helper("ROR URL, e.g. https://ror.org/03a1kwz48",
"A unique identifier of the organisation where the measurement has been conducted.");
case ORGANISATION_ID -> new Helper("ROR URL, e.g. https://ror.org/03a1kwz48", """
A unique identifier of the organisation where the measurement has been conducted.
Tip: You can click on the column header (Organisation ID) to go to the ROR website, search for your organisation and get the Organisation URL.
""");
case FACILITY -> new Helper("Free text, e.g. Quantitative Biology Centre",
"The facilities name within the organisation (group name, etc.)");
case INSTRUMENT -> new Helper("CURIE (ontology), e.g. EFO:0008637",
"The instrument used for the measurement. To avoid ambiguities, we expect an ontology term CURIE. You can use our ontology look up search online to query available terms and CURIEs we currently support.");
case INSTRUMENT -> new Helper("CURIE (ontology), e.g. EFO:0008637", """
The instrument that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE (e.g. EFO:0008637)
Tip: You can click on the column header (%s) to go to the Data Manager where you can use our Ontology Search to query the CURIE for your Instrument.
""".formatted(INSTRUMENT.headerName()));
case SEQUENCING_READ_TYPE -> new Helper("Free text, e.g. paired-end",
"The sequencing read type used to generate the sequence data.");
case LIBRARY_KIT -> new Helper("Free text, e.g. NEBNext Ultra II Directional RNA mRNA UMI",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ public enum ProteomicsMeasurementEditColumn implements Column {
case POOL_GROUP -> new Helper("Free text, e.g. pool group 1",
"A group of samples that are pooled together for a measurement. All samples in a pool group should have the same label.");
case TECHNICAL_REPLICATE_NAME -> null;
case ORGANISATION_ID -> new Helper("ROR URL (e.g. https://ror.org/03a1kwz48)",
"A unique identifier of the organisation where the measurement has been conducted.");
case ORGANISATION_ID -> new Helper("ROR URL (e.g. https://ror.org/03a1kwz48)", """
A unique identifier of the organisation where the measurement has been conducted.
Tip: You can click on the column header (Organisation ID) to go to the ROR website, search for your organisation and get the Organisation URL.
""");
case ORGANISATION_NAME -> null;
case FACILITY -> new Helper("Free text, e.g. Quantitative Biology Center",
"The facility's name within the organisation.");
case MS_DEVICE -> new Helper("CURIE (ontology), e.g. NCIT:C12434",
"The MS device model that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE. You can use our ontology look up search online to query available terms and CURIEs we currently support.");
case MS_DEVICE -> new Helper("CURIE (ontology), e.g. NCIT:C12434", """
The instrument that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE (e.g. NCIT:C12434)
Tip: You can click on the column header (%s) to go to the Data Manager where you can use our Ontology Search to query the CURIE for your Instrument.
""".formatted(MS_DEVICE.headerName()));
case MS_DEVICE_NAME -> null;
case CYCLE_FRACTION_NAME -> new Helper("Free text, e.g. Fraction01, AB",
"Sometimes a sample is fractionated and all fractions are measured. With this property you can indicate which fraction it is.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,16 @@ public enum ProteomicsMeasurementRegisterColumn implements Column {
case POOL_GROUP -> new Helper("Free text, e.g. pool group 1",
"A group of samples that are pooled together for a measurement. All samples in a pool group should have the same label.");
case TECHNICAL_REPLICATE_NAME -> null;
case ORGANISATION_ID -> new Helper("ROR URL (e.g. https://ror.org/03a1kwz48)",
"A unique identifier of the organisation where the measurement has been conducted.");
case ORGANISATION_ID -> new Helper("ROR URL (e.g. https://ror.org/03a1kwz48)", """
A unique identifier of the organisation where the measurement has been conducted.
Tip: You can click on the column header (Organisation ID) to go to the ROR website, search for your organisation and get the Organisation URL.
""");
case FACILITY -> new Helper("Free text, e.g. Quantitative Biology Center",
"The facility's name within the organisation.");
case MS_DEVICE -> new Helper("CURIE (ontology), e.g. NCIT:C12434",
"The MS device model that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE. You can use our ontology look up search online to query available terms and CURIEs we currently support.");
case MS_DEVICE -> new Helper("CURIE (ontology), e.g. NCIT:C12434", """
The instrument that has been used for the measurement. To avoid ambiguities, we expect an ontology term CURIE (e.g. NCIT:C12434)
Tip: You can click on the column header (%s) to go to the Data Manager where you can use our Ontology Search to query the CURIE for your Instrument.
""".formatted(MS_DEVICE.headerName()));
case CYCLE_FRACTION_NAME -> new Helper("Free text, e.g. Fraction01, AB",
"Sometimes a sample is fractionated and all fractions are measured. With this property you can indicate which fraction it is.");
case DIGESTION_METHOD -> new Helper("Enumeration, Select a value from the dropdown",
Expand Down

0 comments on commit d4f5250

Please sign in to comment.