Home
last modified time | relevance | path

Searched refs:LOCANT_EL (Results 1 – 11 of 11) sorted by relevance

/dports/science/opsin/dan2097-opsin-9b25f7546b67/opsin-core/src/test/java/uk/ac/cam/ch/wwmm/opsin/
H A DComponentGeneration_AmbiguitiesAndIrregularitiesTest.java80 Element locant = new TokenEl(LOCANT_EL, "1,2,3,4"); in testLocantsIndicatingTokenizationIsCorrect()
100 Element locant = new TokenEl(LOCANT_EL, "1"); in testLocantsIndicatingTokenizationIsIncorrect()
168 Element locant = new TokenEl(LOCANT_EL, "2"); in testTetraphenShouldBeTetraphen2()
185 Element locant = new TokenEl(LOCANT_EL, "2"); in testTetraphenShouldBeTetraphen3()
H A DComponentGeneration_ProcesslocantsTest.java17 locant = new TokenEl(LOCANT_EL); in setUpSubstituent()
266 Element numericLocant = new TokenEl(LOCANT_EL); in testCarbohydrateStyleLocants()
286 assertEquals(LOCANT_EL, elBeforeMultiplier.getName()); in testCarbohydrateStyleLocantsNoNumericComponent()
300 Element numericLocant = new TokenEl(LOCANT_EL); in testCarbohydrateStyleLocantsCounterExample()
307 assertEquals(unmodifiedLocant.getName(), LOCANT_EL); in testCarbohydrateStyleLocantsCounterExample() local
H A DComponentGeneration_StereochemistryTest.java281 Element locant = new TokenEl(LOCANT_EL, "3"); in testLocantedCisTrans()
287 locant = new TokenEl(LOCANT_EL, "5"); in testLocantedCisTrans()
314 Element locant = new TokenEl(LOCANT_EL, "3"); in testLocantedExoOn()
344 Element locant = new TokenEl(LOCANT_EL, "3"); in testLocantedExo()
467 Element locant = new TokenEl(LOCANT_EL, "2"); in testEandZUnbrackettedLocanted()
472 locant = new TokenEl(LOCANT_EL, "4"); in testEandZUnbrackettedLocanted()
498 Element locant = new TokenEl(LOCANT_EL, "2"); in testEandZUnbrackettedBeforeEne()
503 locant = new TokenEl(LOCANT_EL, "4"); in testEandZUnbrackettedBeforeEne()
531 assertEquals(LOCANT_EL, newLocant.getName()); in testEandZUnbrackettedBeforeEne()
541 Element locant = new TokenEl(LOCANT_EL, "2"); in testEandZUnbrackettedBeforeYlidene()
[all …]
H A DComponentProcessorTest.java100 Element locant = new TokenEl(LOCANT_EL); in testSubtractiveWithMultiplierAndLocants()
/dports/science/opsin/dan2097-opsin-9b25f7546b67/opsin-core/src/main/java/uk/ac/cam/ch/wwmm/opsin/
H A DComponentGenerator.java164 !isThisALocant.getName().equals(LOCANT_EL) || in resolveAmbiguities()
244 if (elName.equals(LOCANT_EL)) { in processLocants()
386 Element newLocant = new TokenEl(LOCANT_EL, sb.toString()); in ifCarbohydrateLocantConvertToAminoAcidStyleLocant()
435 ompLocant.setName(LOCANT_EL); in convertOrthoMetaParaToLocants()
566 Element locant = new TokenEl(LOCANT_EL, "N"); in processAlkaneStemModifications()
734 if (possibleLocant !=null && possibleLocant.getName().equals(LOCANT_EL)){ in processHeterogenousHydrides()
1087 Element locantEl = new TokenEl(LOCANT_EL, sb.toString()); in processRelativeCisTrans()
1370 lambdaConventionEl.setName(LOCANT_EL); in processLambdaConvention()
2236 if (possibleLocant != null && possibleLocant.getName().equals(LOCANT_EL) && in handleGroupIrregularities()
2374 Element newLocant =new TokenEl(LOCANT_EL, "9"); in handleGroupIrregularities()
[all …]
H A DComponentProcessor.java951 elName.equals(LOCANT_EL))) { in removeAndMoveToAppropriateGroupIfRingBridge()
1012 if(elName.equals(LOCANT_EL)) { in determineLocantMeaning()
1481 else if (!elName.equals(LOCANT_EL) && in processCarbohydrates()
1569 if (!locant.getName().equals(LOCANT_EL)){ in processUloseSuffix()
1641 if (potentialLocant.getName().equals(LOCANT_EL)){ in cycliseCarbohydrateAndApplyAlphaBetaStereo()
1910 if (possibleLocantElName.equals(LOCANT_EL)){ in processMultipliers()
2092 if (elName.equals(LOCANT_EL)){
4181 if (currentElementName.equals(LOCANT_EL)){ in implicitlyBracketToPreviousSubstituentIfAppropriate()
4281 else if (currentElementName.equals(LOCANT_EL)) { in implicitlyBracketToPreviousSubstituentIfAppropriate()
4547 if (el.getName().equals(LOCANT_EL)){ in findLocantsThatCouldBeIndirectLocants()
[all …]
H A DXmlDeclarations.java131 static final String LOCANT_EL ="locant"; field in XmlDeclarations
H A DFunctionalReplacement.java159 …if (possibleLocant !=null && possibleLocant.getName().equals(LOCANT_EL) && possibleLocant.getAttri… in processPrefixFunctionalReplacementNomenclature()
504 if (possibleLocantOrMultiplier.getName().equals(LOCANT_EL)){ in processAcidReplacingFunctionalClassNomenclatureFunctionalWord()
903 if (possibleLocant.getName().equals(LOCANT_EL)) { in disambiguateMultipliedInfixMeaning()
H A DStructureBuildingMethods.java2327 …etOrSubOrRoot.getAttributeValue(TYPE_ATR)) && bracketOrSubOrRoot.getAttribute(LOCANT_EL) == null) { in findFragmentWithLocant()
2334 …if (substituentToTryFirst == null && descendent.getAttribute(LOCANT_EL) == null && MATCH_NUMERIC_L… in findFragmentWithLocant()
2348 …if (substituentToTryFirst == null && bracketOrSubOrRoot.getAttribute(LOCANT_EL) == null && MATCH_N… in findFragmentWithLocant()
2367 …etOrSubOrRoot.getAttributeValue(TYPE_ATR)) && bracketOrSubOrRoot.getAttribute(LOCANT_EL) == null) { in findFragmentWithLocant()
2398 …ICIT_TYPE_VAL.equals(child.getAttributeValue(TYPE_ATR)) && child.getAttribute(LOCANT_EL) == null) { in getChildrenIgnoringLocantlessImplicitBrackets()
H A DFusedRingBuilder.java57 if (beforeBenzo !=null && beforeBenzo.getName().equals(LOCANT_EL)){ in processFusedRings()
965 if (locantEl != null && locantEl.getName().equals(LOCANT_EL)) { in setBenzoHeteroatomPositioning()
H A DStructureBuilder.java541 List<Element> locantEls =OpsinTools.getDescendantElementsWithTagName(words.get(1), LOCANT_EL); in buildOxide()
720 List<Element> locantEls =OpsinTools.getDescendantElementsWithTagName(words.get(1), LOCANT_EL); in buildCarbonylDerivative()
871 …psinTools.getDescendantElementsWithTagNames(anhydrideWord, new String[]{LOCANT_EL, COLONORSEMICOLO… in buildAnhydride()