Skip to content

Commit

Permalink
Merge branch 'master' into Skyline/work/20240905_what_is_up_with_test…
Browse files Browse the repository at this point in the history
…s_on_jason_xps
  • Loading branch information
bspratt authored Jan 10, 2025
2 parents 4b85049 + 8276cfc commit 19b83bc
Show file tree
Hide file tree
Showing 80 changed files with 10 additions and 11 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ <h1>Exploring DIA Results</h1>
<li>Right-click one of the chromatogram graphs, and click <b>Legend</b> to uncheck it.</li>
<li>Dock the <b>Peak Areas – Replicate Comparison</b> graph to the right edge of the main window on top of the <b>Library
Match</b> view.</li>
<li>Right-click the <b>Peak Areas – Replicate Comparison</b> graph, choose <b>Show Dot Product</b>, and click <b>Labels</b>.</li>
<li>Select the first peptide K.YALSQDV<b><u>C</u></b>TYR.D [64, 74] in the <b>Targets</b> view.</li>
</ul>
<p class="keep-next">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ <h1>Reviewing the Data</h1>
<ul>
<li>On the <b>View</b> menu, choose <b>Peak Areas</b> and click <b>Replicate Comparison</b> (F7).</li>
<li>On the <b>View</b> menu, choose <b>Transitions</b> and click <b>Products</b> (Ctrl-Alt-F10).</li>
<li>Right-click the <b>Peak Areas – Replicate Comparison</b> graph, choose <b>Show Dot Product</b>, and click <b>Labels</b>.</li>
</ul>
<p class="keep-next">
The <b>Peak Areas</b> graph should now look like this:
Expand All @@ -496,7 +497,6 @@ <h1>Reviewing the Data</h1>
<ul>
<li>Right-click the <b>Peak Areas</b> graph, choose <b>Normalize To</b> and click <b>None</b>.</li>
<li>Right-click the <b>Peak Areas</b> graph, and click <b>Show Library</b>.</li>
<li>Right-click the <b>Peak Areas</b> graph, and click <b>Show Dot Product</b>.</li>
</ul>
<p>
You can review all of the target peptides with these settings to see that they all match the search spectra very well, and that the
Expand Down
8 changes: 4 additions & 4 deletions pwiz_tools/Skyline/SkylineTester/WindowThumbnail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private void UnregisterThumb()
{
if (_thumb != IntPtr.Zero)
{
DwmapiTest.UnregisterThumbnail(_thumb);
DwmapiTest.DwmUnregisterThumbnail(_thumb);
_thumb = IntPtr.Zero;
}
}
Expand All @@ -71,7 +71,7 @@ private void RegisterThumb()
}

IntPtr newThumb;
DwmapiTest.RegisterThumbnail(MainWindow.Handle, window, out newThumb);
DwmapiTest.DwmRegisterThumbnail(MainWindow.Handle, window, out newThumb);
if (newThumb == IntPtr.Zero)
{
UnregisterThumb();
Expand All @@ -86,7 +86,7 @@ private void RegisterThumb()
Point locationOnForm = MainWindow.PointToClient(Parent.PointToScreen(Location));

PInvokeCommon.SIZE size;
DwmapiTest.QueryThumbnailSourceSize(_thumb, out size);
DwmapiTest.DwmQueryThumbnailSourceSize(_thumb, out size);

var props = new DwmapiTest.THUMBNAIL_PROPERTIES
{
Expand All @@ -105,7 +105,7 @@ private void RegisterThumb()
if (size.cy < Height)
props.rcDestination.bottom = props.rcDestination.top + size.cy;

DwmapiTest.UpdateThumbnailProperties(_thumb, ref props);
DwmapiTest.DwmUpdateThumbnailProperties(_thumb, ref props);
}

private IntPtr FindWindow(int processId)
Expand Down
8 changes: 4 additions & 4 deletions pwiz_tools/Skyline/TestRunnerLib/PInvoke/DwmapiTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,18 @@ public struct THUMBNAIL_PROPERTIES

// ReSharper disable once StringLiteralTypo
[DllImport("dwmapi.dll")]
public static extern int RegisterThumbnail(IntPtr dest, IntPtr src, out IntPtr thumb);
public static extern int DwmRegisterThumbnail(IntPtr dest, IntPtr src, out IntPtr thumb);

// ReSharper disable once StringLiteralTypo
[DllImport("dwmapi.dll")]
public static extern int UnregisterThumbnail(IntPtr thumb);
public static extern int DwmUnregisterThumbnail(IntPtr thumb);

// ReSharper disable once StringLiteralTypo
[DllImport("dwmapi.dll")]
public static extern int QueryThumbnailSourceSize(IntPtr thumb, out PInvokeCommon.SIZE size);
public static extern int DwmQueryThumbnailSourceSize(IntPtr thumb, out PInvokeCommon.SIZE size);

// ReSharper disable once StringLiteralTypo
[DllImport("dwmapi.dll")]
public static extern int UpdateThumbnailProperties(IntPtr hThumb, ref THUMBNAIL_PROPERTIES props);
public static extern int DwmUpdateThumbnailProperties(IntPtr hThumb, ref THUMBNAIL_PROPERTIES props);
}
}
1 change: 0 additions & 1 deletion pwiz_tools/Skyline/TestTutorial/DiaTutorialTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,6 @@ protected override void DoTest()
SkylineWindow.ShowChromatogramLegends(false);
SkylineWindow.ShowPeakAreaReplicateComparison();
SkylineWindow.ArrangeGraphs(DisplayGraphsType.Row);
// TODO: Need to explain this in the tutorial
// CONSIDER: SkylineWindow should probably have a function for this
Settings.Default.PeakAreaDotpDisplay = DotProductDisplayOption.label.ToString();
SkylineWindow.Width = 1250;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,6 @@ private void DoStudy7Test()
FindNode("SSDLVALSGGHTFGK"); // Not L10N
RunUI(NormalizeGraphToHeavy);
PauseForPeakAreaGraphScreenShot("Peak Areas graph metafile");
Settings.Default.PeakAreaDotpDisplay = DotProductDisplayOption.none.ToString();
FindNode((564.7746).ToString(LocalizationHelper.CurrentCulture) + "++"); // ESDTSYVSLK - Not L10N
WaitForGraphs();
PauseForPeakAreaGraphScreenShot("Peak Areas graph metafile");
Expand Down

0 comments on commit 19b83bc

Please sign in to comment.