Commit 5d604d4b authored by Vincent Michel's avatar Vincent Michel
Browse files

[entities] Add logic for Chip dc_title

parent eb0743cca3d1
......@@ -61,3 +61,10 @@ class GenomicRegion(AnyEntity):
def dc_title(self):
return '%s %s (%s-%s)' % (self._cw._('Chromosome'), self.chromosome[0].dc_title(),
self.start, self.stop)
class Chip(AnyEntity):
__regid__ = 'Chip'
def dc_title(self):
return '%s %s' % (self._cw._('Chip'), self.barcode)
......@@ -21,6 +21,12 @@ msgstr ""
msgid "CghResult_plural"
msgstr ""
msgid "Chip"
msgstr ""
msgid "Chip_plural"
msgstr ""
# schema pot file, generated on 2012-12-06 13:41:27
#
# singular and plural forms for each entity type
......@@ -81,6 +87,9 @@ msgstr ""
msgid "New CghResult"
msgstr ""
msgid "New Chip"
msgstr ""
msgid "New Chromosome"
msgstr ""
......@@ -117,6 +126,9 @@ msgstr "SNPs"
msgid "This CghResult"
msgstr ""
msgid "This Chip"
msgstr ""
msgid "This Chromosome"
msgstr ""
......@@ -146,6 +158,30 @@ msgid ""
"channel, name will be red or green"
msgstr ""
msgid "add CghResult genomic_region GenomicRegion object"
msgstr ""
msgid "add CghResult related_measure GenomicMeasure object"
msgstr ""
msgid "add ColumnRef measure GenomicMeasure object"
msgstr ""
msgid "add GenomicRegion chromosome Chromosome object"
msgstr ""
msgid "add Mutation related_gene Gene object"
msgstr ""
msgid "add Mutation related_measure GenomicMeasure object"
msgstr ""
msgid "add Snp chromosome Chromosome object"
msgstr ""
msgid "add Snp gene Gene object"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "atlas_genes"
......@@ -162,6 +198,13 @@ msgctxt "Gene"
msgid "atlas_genes_object"
msgstr ""
msgid "barcode"
msgstr ""
msgctxt "Chip"
msgid "barcode"
msgstr ""
msgid "base"
msgstr ""
......@@ -197,13 +240,18 @@ msgctxt "CghResult"
msgid "cgh_ratio"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "chip_serialnum"
msgid "chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "chip_serialnum"
msgid "chip"
msgstr ""
msgid "chip_object"
msgstr ""
msgctxt "Chip"
msgid "chip_object"
msgstr ""
msgid "chromosome"
......@@ -245,6 +293,13 @@ msgctxt "Mutation"
msgid "classification_type"
msgstr ""
msgid "column_on_chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "column_on_chip"
msgstr ""
msgctxt "Mutation"
msgid "comment"
msgstr ""
......@@ -270,6 +325,31 @@ msgctxt "Mutation"
msgid "coverage"
msgstr ""
msgid "creating CghResult (CghResult genomic_region GenomicRegion %(linkto)s)"
msgstr ""
msgid ""
"creating CghResult (CghResult related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating ColumnRef (ColumnRef measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating GenomicRegion (GenomicRegion chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_gene Gene %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp gene Gene %(linkto)s)"
msgstr ""
msgid "cytoband_start"
msgstr ""
......@@ -350,13 +430,6 @@ msgstr ""
msgid "facets_mutation-variant_base_description"
msgstr ""
msgid "filepath"
msgstr ""
msgctxt "GenomicMeasure"
msgid "filepath"
msgstr ""
msgid "format"
msgstr ""
......@@ -434,12 +507,18 @@ msgctxt "Chromosome"
msgid "identifier"
msgstr ""
msgctxt "GenomicMeasure"
msgid "identifier"
msgid "left_gene"
msgstr ""
msgctxt "GenomicPlatform"
msgid "identifier"
msgctxt "GenomicRegion"
msgid "left_gene"
msgstr ""
msgid "left_gene_object"
msgstr ""
msgctxt "Gene"
msgid "left_gene_object"
msgstr ""
msgid "locus_version"
......@@ -503,6 +582,10 @@ msgctxt "Gene"
msgid "name"
msgstr ""
msgctxt "GenomicPlatform"
msgid "name"
msgstr ""
msgid "nucl"
msgstr ""
......@@ -541,7 +624,7 @@ msgstr ""
msgid "platform"
msgstr ""
msgctxt "GenomicMeasure"
msgctxt "Chip"
msgid "platform"
msgstr ""
......@@ -654,18 +737,25 @@ msgctxt "Snp"
msgid "related_snps_object"
msgstr ""
msgid "results_file"
msgid "right_gene"
msgstr ""
msgctxt "GenomicMeasure"
msgid "results_file"
msgctxt "GenomicRegion"
msgid "right_gene"
msgstr ""
msgid "right_gene_object"
msgstr ""
msgid "results_file_object"
msgctxt "Gene"
msgid "right_gene_object"
msgstr ""
msgctxt "File"
msgid "results_file_object"
msgid "row_on_chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "row_on_chip"
msgstr ""
msgid "rs_id"
......
......@@ -21,6 +21,12 @@ msgstr ""
msgid "CghResult_plural"
msgstr ""
msgid "Chip"
msgstr ""
msgid "Chip_plural"
msgstr ""
# schema pot file, generated on 2012-12-06 13:41:27
#
# singular and plural forms for each entity type
......@@ -81,6 +87,9 @@ msgstr ""
msgid "New CghResult"
msgstr ""
msgid "New Chip"
msgstr ""
msgid "New Chromosome"
msgstr ""
......@@ -117,6 +126,9 @@ msgstr ""
msgid "This CghResult"
msgstr ""
msgid "This Chip"
msgstr ""
msgid "This Chromosome"
msgstr ""
......@@ -146,6 +158,30 @@ msgid ""
"channel, name will be red or green"
msgstr ""
msgid "add CghResult genomic_region GenomicRegion object"
msgstr ""
msgid "add CghResult related_measure GenomicMeasure object"
msgstr ""
msgid "add ColumnRef measure GenomicMeasure object"
msgstr ""
msgid "add GenomicRegion chromosome Chromosome object"
msgstr ""
msgid "add Mutation related_gene Gene object"
msgstr ""
msgid "add Mutation related_measure GenomicMeasure object"
msgstr ""
msgid "add Snp chromosome Chromosome object"
msgstr ""
msgid "add Snp gene Gene object"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "atlas_genes"
......@@ -162,6 +198,13 @@ msgctxt "Gene"
msgid "atlas_genes_object"
msgstr ""
msgid "barcode"
msgstr ""
msgctxt "Chip"
msgid "barcode"
msgstr ""
msgid "base"
msgstr ""
......@@ -197,13 +240,18 @@ msgctxt "CghResult"
msgid "cgh_ratio"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "chip_serialnum"
msgid "chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "chip_serialnum"
msgid "chip"
msgstr ""
msgid "chip_object"
msgstr ""
msgctxt "Chip"
msgid "chip_object"
msgstr ""
msgid "chromosome"
......@@ -245,6 +293,13 @@ msgctxt "Mutation"
msgid "classification_type"
msgstr ""
msgid "column_on_chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "column_on_chip"
msgstr ""
msgctxt "Mutation"
msgid "comment"
msgstr ""
......@@ -270,6 +325,31 @@ msgctxt "Mutation"
msgid "coverage"
msgstr ""
msgid "creating CghResult (CghResult genomic_region GenomicRegion %(linkto)s)"
msgstr ""
msgid ""
"creating CghResult (CghResult related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating ColumnRef (ColumnRef measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating GenomicRegion (GenomicRegion chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_gene Gene %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp gene Gene %(linkto)s)"
msgstr ""
msgid "cytoband_start"
msgstr ""
......@@ -350,13 +430,6 @@ msgstr ""
msgid "facets_mutation-variant_base_description"
msgstr ""
msgid "filepath"
msgstr ""
msgctxt "GenomicMeasure"
msgid "filepath"
msgstr ""
msgid "format"
msgstr ""
......@@ -434,12 +507,18 @@ msgctxt "Chromosome"
msgid "identifier"
msgstr ""
msgctxt "GenomicMeasure"
msgid "identifier"
msgid "left_gene"
msgstr ""
msgctxt "GenomicPlatform"
msgid "identifier"
msgctxt "GenomicRegion"
msgid "left_gene"
msgstr ""
msgid "left_gene_object"
msgstr ""
msgctxt "Gene"
msgid "left_gene_object"
msgstr ""
msgid "locus_version"
......@@ -503,6 +582,10 @@ msgctxt "Gene"
msgid "name"
msgstr ""
msgctxt "GenomicPlatform"
msgid "name"
msgstr ""
msgid "nucl"
msgstr ""
......@@ -541,7 +624,7 @@ msgstr ""
msgid "platform"
msgstr ""
msgctxt "GenomicMeasure"
msgctxt "Chip"
msgid "platform"
msgstr ""
......@@ -654,18 +737,25 @@ msgctxt "Snp"
msgid "related_snps_object"
msgstr ""
msgid "results_file"
msgid "right_gene"
msgstr ""
msgctxt "GenomicMeasure"
msgid "results_file"
msgctxt "GenomicRegion"
msgid "right_gene"
msgstr ""
msgid "right_gene_object"
msgstr ""
msgid "results_file_object"
msgctxt "Gene"
msgid "right_gene_object"
msgstr ""
msgctxt "File"
msgid "results_file_object"
msgid "row_on_chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "row_on_chip"
msgstr ""
msgid "rs_id"
......
......@@ -21,6 +21,12 @@ msgstr "Résultat CGH"
msgid "CghResult_plural"
msgstr "Résultats CGH"
msgid "Chip"
msgstr "Puce à ADN"
msgid "Chip_plural"
msgstr "Puces à ADN"
# schema pot file, generated on 2012-12-06 13:41:27
#
# singular and plural forms for each entity type
......@@ -81,6 +87,9 @@ msgstr "Résultats des mutations"
msgid "New CghResult"
msgstr "Nouveau résultat CGH"
msgid "New Chip"
msgstr ""
msgid "New Chromosome"
msgstr "Nouveau chromosome"
......@@ -117,6 +126,9 @@ msgstr "Snps"
msgid "This CghResult"
msgstr "Ce résultat CGH"
msgid "This Chip"
msgstr ""
msgid "This Chromosome"
msgstr "Ce chromosome"
......@@ -146,6 +158,30 @@ msgid ""
"channel, name will be red or green"
msgstr ""
msgid "add CghResult genomic_region GenomicRegion object"
msgstr ""
msgid "add CghResult related_measure GenomicMeasure object"
msgstr ""
msgid "add ColumnRef measure GenomicMeasure object"
msgstr ""
msgid "add GenomicRegion chromosome Chromosome object"
msgstr ""
msgid "add Mutation related_gene Gene object"
msgstr ""
msgid "add Mutation related_measure GenomicMeasure object"
msgstr ""
msgid "add Snp chromosome Chromosome object"
msgstr ""
msgid "add Snp gene Gene object"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "atlas_genes"
......@@ -162,6 +198,13 @@ msgctxt "Gene"
msgid "atlas_genes_object"
msgstr ""
msgid "barcode"
msgstr ""
msgctxt "Chip"
msgid "barcode"
msgstr ""
msgid "base"
msgstr "Base"
......@@ -197,13 +240,18 @@ msgctxt "CghResult"
msgid "cgh_ratio"
msgstr ""
# subject and object forms for each relation type
# (no object form for final or symmetric relation types)
msgid "chip_serialnum"
msgstr "Numéro de série de la puce"
msgid "chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "chip_serialnum"
msgid "chip"
msgstr ""
msgid "chip_object"
msgstr ""
msgctxt "Chip"
msgid "chip_object"
msgstr ""
msgid "chromosome"
......@@ -245,6 +293,13 @@ msgctxt "Mutation"
msgid "classification_type"
msgstr ""
msgid "column_on_chip"
msgstr ""
msgctxt "GenomicMeasure"
msgid "column_on_chip"
msgstr ""
msgctxt "Mutation"
msgid "comment"
msgstr "Commentaire"
......@@ -270,6 +325,31 @@ msgctxt "Mutation"
msgid "coverage"
msgstr ""
msgid "creating CghResult (CghResult genomic_region GenomicRegion %(linkto)s)"
msgstr ""
msgid ""
"creating CghResult (CghResult related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating ColumnRef (ColumnRef measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating GenomicRegion (GenomicRegion chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_gene Gene %(linkto)s)"
msgstr ""
msgid "creating Mutation (Mutation related_measure GenomicMeasure %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp chromosome Chromosome %(linkto)s)"
msgstr ""
msgid "creating Snp (Snp gene Gene %(linkto)s)"
msgstr ""
msgid "cytoband_start"
msgstr "Début cytobande"
......@@ -350,13 +430,6 @@ msgstr "Base du variant"
msgid "facets_mutation-variant_base_description"
msgstr ""
msgid "filepath"
msgstr "Chemin de fichier"
msgctxt "GenomicMeasure"
msgid "filepath"
msgstr ""
msgid "format"
msgstr "Format"
......@@ -434,12 +507,18 @@ msgctxt "Chromosome"
msgid "identifier"
msgstr ""
msgctxt "GenomicMeasure"
msgid "identifier"
msgid "left_gene"
msgstr ""
msgctxt "GenomicPlatform"
msgid "identifier"
msgctxt "GenomicRegion"
msgid "left_gene"
msgstr ""
msgid "left_gene_object"
msgstr ""
msgctxt "Gene"
msgid "left_gene_object"
msgstr ""
msgid "locus_version"
......@@ -503,6 +582,10 @@ msgctxt "Gene"
msgid "name"
msgstr "Nom"
msgctxt "GenomicPlatform"
msgid "name"
msgstr ""
msgid "nucl"
msgstr "Nucl"
......@@ -541,7 +624,7 @@ msgstr ""
msgid "platform"
msgstr "Plateforme"
msgctxt "GenomicMeasure"
msgctxt "Chip"
msgid "platform"
msgstr ""
......@@ -654,18 +737,25 @@ msgctxt "Snp"
msgid "related_snps_object"
msgstr ""
msgid "results_file"
msgstr "Fichier de résultats"
msgid "right_gene"
msgstr ""
msgctxt "GenomicMeasure"
msgid "results_file"
msgctxt "GenomicRegion"
msgid "right_gene"
msgstr ""
msgid "results_file_object"