All Downloads are FREE. Search and download functionalities are using the official Maven repository.

umich.ms.msfiletoolbox.MsftbxInfo Maven / Gradle / Ivy

There is a newer version: 1.8.8
Show newest version
/*
 * Copyright (c) 2016 Dmitry Avtonomov
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package umich.ms.msfiletoolbox;

import java.util.*;

/**
 * @author Dmitry Avtonomov
 */
public class MsftbxInfo {
    public static final String version = "1.6.0";

    private static final TreeMap> changelog = new TreeMap<>();
    private static final Map> changelogImmutable = Collections.unmodifiableMap(changelog);

    static {
        String v160 = "v1.6.0";
        List v160notes = new LinkedList<>();
        v160notes.add("Added @XmlRootElement annotation to MzIdentMlType JAXB class to enable proper marshalling.");
        v160notes.add("Changes to NameValueType in PepXml definition. Was causing some strange error on some systems " +
                "about incorrect annotations.");
        changelog.put(v160, v160notes);


        String v150 = "v1.5.0";
        List v150notes = new LinkedList<>();
        v150notes.add("Changed how precursor ions are reported. PrecursorInfo now provides `mzTarget` " +
                              "as the actual targeted m/z, and also `mzTargetMono`, which is the assumed " +
                              "monoisotopic m/z of that ion.");
        changelog.put(v150, v150notes);

        String v140 = "v1.4.0";
        List v140notes = new LinkedList<>();
        v140notes.add("Fixed regression bug in mzXML header parsing. Original files without parent location were causing NPEs.");
        changelog.put(v140, v140notes);

        String v131 = "v1.3.1";
        List v131notes = new LinkedList<>();
        v131notes.add("PepXML parser updated to pepxml schema v120. Includes PTM Prophet and related changes.");
        changelog.put(v131, v131notes);

        String v130 = "v1.3.0";
        List v130notes = new LinkedList<>();
        v130notes.add("Multiple improvements to mzML parsing.");
        v130notes.add("Support for ReferenceableParamGroups in mzML.");
        v130notes.add("Significant non-indexed files parsing speed up.");
        changelog.put(v130, v130notes);

        String v123 = "v1.2.3";
        List v123notes = new LinkedList<>();
        v123notes.add("Add test resources path to Maven POM.");
        v123notes.add("If anything goes wrong during index parsing, tries to re-index the file instead of throwing exceptions.");
        v123notes.add("Support for ReferenceableParamGroups in mzML.");
        v123notes.add("Fix BOM for mzML/mzXML files.");
        v123notes.add("Change deps to Javolution-MSFTBX v6.11.7");
        v123notes.add("Use CharArray.contentEquals() in mzML parser");
        changelog.put(v123, v123notes);

        String v121 = "v1.2.1";
        List v121notes = new LinkedList<>();
        v121notes.add("Mavenized, published to Maven Central");
        changelog.put(v121, v121notes);

        String v120 = "v1.2.0";
        List v120notes = new LinkedList<>();
        v120notes.add("Added fragmentation energy and reaction time");
        changelog.put(v120, v120notes);
    }

    public static String getVersion() {
        return version;
    }

    public static Map> getChangelog() {
        return changelogImmutable;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy