Changeset 4972
- Timestamp:
- Sep 20, 2018, 1:42:21 PM (5 years ago)
- Location:
- extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/dao/Annotationtype.java
r4710 r4972 1426 1426 1427 1427 /** 1428 The "DoNotUse" annotation type which is a flag to indicate that 1429 a biomaterial (sample or extract) is not correct and it should 1430 not be used. The typical problems are mixups in the QiaCube or 1431 contamination in the lib-prep. The flag is also put on all child items. 1432 The value is an enumeration that indicates the topmost item type. 1433 @since 4.20 1434 */ 1435 public static final Annotationtype DO_NOT_USE = 1436 new Annotationtype("DoNotUse", Type.STRING, false, Item.SAMPLE, Item.EXTRACT, Item.DERIVEDBIOASSAY, Item.RAWBIOASSAY); 1437 1438 /** 1439 A comment that goes with the "DoNotUse" annotations. 1440 @since 4.20 1441 */ 1442 public static final Annotationtype DO_NOT_USE_COMMENT = 1443 new Annotationtype("DoNotUseComment", Type.STRING, false, Item.SAMPLE, Item.EXTRACT, Item.DERIVEDBIOASSAY, Item.RAWBIOASSAY); 1444 1445 /** 1428 1446 The "SerialNumber" annotation, used for hardware items. 1429 1447 It is a string annotation containing a typically unique -
extensions/net.sf.basedb.reggie/trunk/src/net/sf/basedb/reggie/servlet/InstallServlet.java
r4712 r4972 587 587 jsonChecks.add(checkAnnotationType(dc, Annotationtype.QC_GENOTYPE_COMMENT, 1, null, createIfMissing, effectivePermissionsUse)); 588 588 589 jsonChecks.add(checkAnnotationType(dc, Annotationtype.DO_NOT_USE, 1, 590 new ValueOptions("Specimen", "Lysate", "RNA", "Library"), 591 createIfMissing, effectivePermissionsUse)); 592 jsonChecks.add(checkAnnotationType(dc, Annotationtype.DO_NOT_USE_COMMENT, 1, null, createIfMissing, effectivePermissionsUse)); 593 589 594 jsonChecks.add(checkAnnotationType(dc, Annotationtype.BARCODE_SEQUENCE, 1, null, createIfMissing, effectivePermissionsUse)); 590 595 jsonChecks.add(checkAnnotationType(dc, Annotationtype.SERIAL_NUMBER, 1, null, createIfMissing, effectivePermissionsUse)); … … 690 695 Annotationtype.SAMPLING_DATETIME, Annotationtype.SPECIMEN_TYPE, 691 696 Annotationtype.LINKED_SPECIMEN, Annotationtype.YELLOW_LABEL, 692 Annotationtype.COMPLETED_DATE, 697 Annotationtype.COMPLETED_DATE, 698 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 693 699 Annotationtype.AUTO_PROCESSING)); 694 700 … … 713 719 Annotationtype.RLT_PLUS, Annotationtype.BETA_MERCA, 714 720 Annotationtype.REAGENT_DX, Annotationtype.QIA_SHREDDER, 715 Annotationtype.RESERVED_BY, Annotationtype.AUTO_PROCESSING 721 Annotationtype.RESERVED_BY, 722 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 723 Annotationtype.AUTO_PROCESSING 716 724 )); 717 725 … … 725 733 Annotationtype.BUFFER_EB, Annotationtype.RNASE_FREE_WATER, 726 734 Annotationtype.ALLPREP_DNA_COL, Annotationtype.RNEASY_COL, 735 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 727 736 Annotationtype.AUTO_PROCESSING, Annotationtype.FLAG)); 728 737 … … 746 755 Annotationtype.BUFFER_AW1, Annotationtype.BUFFER_AW2, 747 756 Annotationtype.BUFFER_EB, Annotationtype.RNASE_FREE_WATER, 748 Annotationtype.ALLPREP_DNA_COL, Annotationtype.RNEASY_COL 757 Annotationtype.ALLPREP_DNA_COL, Annotationtype.RNEASY_COL, 758 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT 749 759 )); 750 760 … … 756 766 Annotationtype.BUFFER_AW1, Annotationtype.BUFFER_AW2, 757 767 Annotationtype.BUFFER_EB, Annotationtype.RNASE_FREE_WATER, 758 Annotationtype.ALLPREP_DNA_COL, Annotationtype.RNEASY_COL 768 Annotationtype.ALLPREP_DNA_COL, Annotationtype.RNEASY_COL, 769 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT 759 770 )); 760 771 … … 788 799 Annotationtype.DILUTION_DATE, Annotationtype.DILUTION_OPERATOR, 789 800 Annotationtype.NEOPREP_DATE, Annotationtype.NEOPREP_DATE, 790 Annotationtype.POOL_SCHEMA, Annotationtype.BARCODE_VARIANT, Annotationtype.PLATE_PROCESS_RESULT)); 801 Annotationtype.POOL_SCHEMA, Annotationtype.BARCODE_VARIANT, 802 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 803 Annotationtype.PLATE_PROCESS_RESULT)); 791 804 792 805 jsonChecks.add(checkAnnotationTypeCategory(dc, Subtype.POOLED_LIBRARY, createIfMissing, … … 822 835 Annotationtype.FRAGMENT_SIZE_AVG, Annotationtype.FRAGMENT_SIZE_STDEV, 823 836 Annotationtype.DATA_FILES_FOLDER, 837 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 824 838 Annotationtype.AUTO_PROCESSING 825 839 )); … … 836 850 Annotationtype.QC_GENOTYPE_COUNT, Annotationtype.QC_GENOTYPE_HET_PCT, 837 851 Annotationtype.QC_GENOTYPE_STATUS, Annotationtype.QC_GENOTYPE_VERIFIED, 838 Annotationtype.QC_GENOTYPE_COMMENT, Annotationtype.AUTO_PROCESSING 852 Annotationtype.QC_GENOTYPE_COMMENT, 853 Annotationtype.DO_NOT_USE, Annotationtype.DO_NOT_USE_COMMENT, 854 Annotationtype.AUTO_PROCESSING 839 855 )); 840 856
Note: See TracChangeset
for help on using the changeset viewer.