Skip to content

Commit

Permalink
Merge pull request mzmine#597 from SteffenHeu/fixes
Browse files Browse the repository at this point in the history
dont show image in shape chart, remove space in smoothing suffix
  • Loading branch information
robinschmid authored Mar 14, 2022
2 parents 3e61afd + 6ac83bc commit 967356d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
package io.github.mzmine.datamodel.features.types.graphicalnodes;

import com.google.common.util.concurrent.AtomicDouble;
import io.github.mzmine.datamodel.ImagingRawDataFile;
import io.github.mzmine.datamodel.Scan;
import io.github.mzmine.datamodel.featuredata.IonTimeSeries;
import io.github.mzmine.datamodel.features.Feature;
Expand Down Expand Up @@ -56,6 +57,9 @@ public FeatureShapeChart(@NotNull ModularFeatureListRow row, AtomicDouble progre
Set<ColoredXYDataset> datasets = new LinkedHashSet<>();
int size = row.getFilesFeatures().size();
for (Feature f : row.getFeatures()) {
if(f.getRawDataFile() instanceof ImagingRawDataFile) {
continue;
}
IonTimeSeries<? extends Scan> dpSeries = ((ModularFeature) f).getFeatureData();
if (dpSeries != null) {
ColoredXYDataset dataset = new ColoredXYDataset(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public class SmoothingParameters extends SimpleParameterSet {
new OriginalFeatureListHandlingParameter(false);

public static final StringParameter suffix = new StringParameter("Suffix",
"The suffix to be added to processed feature lists.", " sm");
"The suffix to be added to processed feature lists.", "sm");

public SmoothingParameters() {
super(new Parameter[]{featureLists, smoothingAlgorithm, handleOriginal, suffix});
Expand Down

0 comments on commit 967356d

Please sign in to comment.