Examples of toBELLongForm()


Examples of org.openbel.framework.common.model.Term.toBELLongForm()

            if (hasItems(terms)) {
                final BelTerm term = terms.get(0);
                final Term ts = BELParser.parseTerm(term.getLabel());
                final Term converted = convert(ts, param);

                cached = displayLongForm ? converted.toBELLongForm()
                        : converted.toBELShortForm();
                labelCache.put(nodeLabel, cached);
                return cached;
            }
View Full Code Here

Examples of org.openbel.framework.common.model.Term.toBELLongForm()

    }

    @Test
    public void testCollidingParamWithFunction() {
        Term term = BELParser.parseTerm("proteinAbundance(MGI:t)");
        System.out.println(term.toBELLongForm());
    }
}
View Full Code Here

Examples of org.openbel.framework.common.model.Term.toBELLongForm()

            } catch (Exception e) {
                return null;
            }
            Term converted = convert(parsed);

            return displayLongForm ? converted.toBELLongForm() : converted
                    .toBELShortForm();
        }
        return null;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.