Examples of GlobalProtonetworkFilter


Examples of org.openbel.framework.common.util.BELPathFilters.GlobalProtonetworkFilter

            failUsage();
        }

        // Fail if the working path doesn't contain any proto-networks
        final File[] networks =
                phaseIIPath.listFiles(new GlobalProtonetworkFilter());
        if (networks.length == 0) {
            final String err = Strings.NO_GLOBAL_PROTO_NETWORK;
            error(err + " in: " + phaseIIPath);
            failUsage();
        }
View Full Code Here

Examples of org.openbel.framework.common.util.BELPathFilters.GlobalProtonetworkFilter

        if (!pnPath.isDirectory()) {
            error(NOT_A_DIRECTORY + ": " + pnPath);
            failUsage();
        }

        final File[] files = pnPath.listFiles(new GlobalProtonetworkFilter());
        if (files.length == 0 || files.length > 1) {
            bail(ExitCode.NO_GLOBAL_PROTO_NETWORK);
        }

        processFiles(files[0]);
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.