changeset 5317:7154827f915f

task #16230: Use grouped attribute for large datafiles. Implement it on Genetics and Uniprot
author Luis Falcon <falcon@gnuhealth.org>
date Wed, 14 Sep 2022 10:17:12 +0100
parents 1c9d314c2820
children e70ca5cae10a
files tryton/health_genetics/data/disease_genes.xml tryton/health_genetics_uniprot/data/gene_variants.xml tryton/health_genetics_uniprot/data/protein_diseases.xml tryton/health_genetics_uniprot/data/variant_phenotypes.xml
diffstat 4 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/tryton/health_genetics/data/disease_genes.xml
+++ b/tryton/health_genetics/data/disease_genes.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <tryton>
-<data noupdate="0" skiptest="1">
+<data skiptest="1" noupdate="1" grouped="1">
 <record model="gnuhealth.disease.gene" id="A2BP1">
     <field name="name">A2BP1</field>
     <field name="long_name">ataxin 2-binding protein 1</field>
--- a/tryton/health_genetics_uniprot/data/gene_variants.xml
+++ b/tryton/health_genetics_uniprot/data/gene_variants.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <tryton>
-<data noupdate="0">
+<data skiptest="1" noupdate="1" grouped="1">
 <record model="gnuhealth.gene.variant" id="VAR_012804">
 	<field name="name" ref="health_genetics.AAAS"></field>
 	<field name="variant">VAR_012804</field>
--- a/tryton/health_genetics_uniprot/data/protein_diseases.xml
+++ b/tryton/health_genetics_uniprot/data/protein_diseases.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <tryton>
-<data noupdate="0">
+<data skiptest="1" noupdate="1" grouped="1">
 <record model="gnuhealth.protein.disease" id="DI-00001">
 	<field name="name">DI-00001</field>
 	<field name="disease_name">HDS10 mitochondrial disease</field>
--- a/tryton/health_genetics_uniprot/data/variant_phenotypes.xml
+++ b/tryton/health_genetics_uniprot/data/variant_phenotypes.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <tryton>
-<data noupdate="0">
+<data skiptest="1" noupdate="1" grouped="1">
 <record model="gnuhealth.gene.variant.phenotype" id="VARPHEN1">
 	<field name="name">VARPHEN1</field>
 	<field name="variant" ref="VAR_001767"></field>