Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alphapeptdeep Integration #3123

Open
wants to merge 239 commits into
base: master
Choose a base branch
from

Conversation

xgwang-uw
Copy link
Contributor

  • Rename existing PythonInstaller to PythonInstallerLegacyDlg
  • Add new PythonInstaller implementation to support Python virtual environment
  • Add functional tests for new PythonInstaller implementation

@xgwang-uw xgwang-uw requested a review from nickshulman August 16, 2024 09:00
@chambm
Copy link
Member

chambm commented Aug 20, 2024

Something went wrong with the merge here. It shouldn't show changes from other PRs. Maybe try fetching latest master and rebasing your branch on it. Do you need help doing that?.

@nickshulman
Copy link
Contributor

nickshulman commented Aug 20, 2024

Something went wrong with the merge here.

My guess is that pushing "Update branch" will fix everything.
This branch has changes from master but does not know that it is up to date with master.
If we push the "Update branch" button it will notice all the files that it wants to change are identical to what is already there and everything will be good.

@xgwang-uw xgwang-uw force-pushed the Skyline/work/20240816_pythoninstaller_with_virtual_env_support branch from 868fde7 to 416c9d2 Compare August 20, 2024 19:43
@xgwang-uw
Copy link
Contributor Author

Something went wrong with the merge here. It shouldn't show changes from other PRs. Maybe try fetching latest master and rebasing your branch on it. Do you need help doing that?.

Yeah. Thanks for asking. I did a rebase which treated the updated changes and anything in between as new commits. I rolled back those changes and added the updates as a new commit. That fixed this branch. I will do a merge from master later on.

@xgwang-uw xgwang-uw force-pushed the Skyline/work/20240816_pythoninstaller_with_virtual_env_support branch 3 times, most recently from 3db9cca to b007485 Compare August 21, 2024 22:40
@chambm
Copy link
Member

chambm commented Aug 22, 2024

On TeamCity the TestData test runs from an installed directory (installed with the WIX-based installer). Any non-vendor DLLs have to be added into Product-template.wxs manually. We didn't hit this on the Ardia PR because the Ardia tests are in TestConnected, which doesn't run under the admin-installed instance. Nick, we have both hit this snag many times over the years and it's funny how easily we forget it. :) I think I once proposed grepping for DLLs in the csproj files in the past but never got around to implementing it.

@xgwang-uw xgwang-uw force-pushed the Skyline/work/20240816_pythoninstaller_with_virtual_env_support branch from a4971e8 to 7812cb5 Compare August 26, 2024 19:58
bspratt and others added 30 commits February 18, 2025 13:11
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
…elevation. Combine the separate GPU setup steps in one simple batch that can get run if user has permissions. Make Cancellations more robust. Update Test to reflect simpler UI.
…yline/work/20240816_pythoninstaller_with_virtual_env_support
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
…sheet to AlphapeptdeepBuildLibraryTest test data. Compare answers with allowance for small rounding differences.
…yline/work/20240816_pythoninstaller_with_virtual_env_support
…iate message if insufficient privileges to set it.
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
…yline/work/20240816_pythoninstaller_with_virtual_env_support
…yline/work/20240816_pythoninstaller_with_virtual_env_support

Merge branch 'Skyline/work/20240816_pythoninstaller_with_virtual_env_support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

Fix test for nodes where Long Paths is not set and alert with appropriate message if insufficient privileges to set it.

try #2 Fix hang on simulating Nvidia GPU hardware when not available on computer physically

Revert last commit

Fix hang on simulating Nvidia GPU hardware when not available on computer physically

Move AlphapeptdeepBuildLibraryTest test data to TestPerf.  Add answer sheet to AlphapeptdeepBuildLibraryTest test data.  Compare answers with allowance for small rounding differences.

Merge branch 'Skyline/work/20240816_pythoninstaller_with_virtual_env_support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

Improve canceling.  Should only have to Cancel once to stop.

Merge branch 'Skyline/work/20240816_pythoninstaller_with_virtual_env_support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

Address ReSharper complaints

Merge branch 'master' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

Simplify user experience for enabling GPU installation with required elevation.  Combine the separate GPU setup steps in one simple batch that can get run if user has permissions.  Make Cancellations more robust.  Update Test to reflect simpler UI.

Simplify Nvidia dialog and give better user directions.  Disable "OK" button on Nvidia admin message when not running elevated.  Adjust the test to reflect the simpler interface.

AlphaPeptDeep test moved to TestPerf and associated bugfixes and simulated modes for Nvidia components dealing with tasks when installing and configuring Python + Nvidia

Progress with Testing and Nvidia batch file to set PATH to point to CuDNN

Fix issue with canceling long jobs.  Move AlphapeptdeepBuildLibraryTest.cs to TestPerf

Fix build issues caused by last commit

Correct a bug with simulated states move Nvidia installation resource to correct a TC code inspection issue.

Merge branch 'master' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

Simplify code.  Increase test coverage.  Write bat script to install Nvidia libraries and instruct the user and administrator what to do.

Installation script to for NVIDIA Libraries

Fix bug with Path change not checking if already contains a new target.

Fix a merge issue

Merge branch 'Skyline/work/20250207_TestingCancellationTokens' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

# Merged Conflicts:
#	pwiz_tools/Skyline/Model/AlphaPeptDeep/AlphapeptdeepLibraryBuilder.cs
#	pwiz_tools/Skyline/Model/Lib/Library.cs
#	pwiz_tools/Skyline/TestFunctional/AlphapeptdeepBuildLibraryTest.cs
#	pwiz_tools/Skyline/TestUtil/PythonTestUtil.cs

Test with and without iRT, summary comments.

Merge branch 'master' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support

# Resolved Conflicts:
#	.gitignore
#	pwiz_tools/Skyline/SettingsUI/BuildLibraryDlg.resx
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
… certain why the directory goes missing on AWS node but let's create it if necessary.
…yline/work/20240816_pythoninstaller_with_virtual_env_support
…support' of https://github.com/ProteoWizard/pwiz into Skyline/work/20240816_pythoninstaller_with_virtual_env_support
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants