-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python virtual environment; remove natural product
- Loading branch information
Showing
65 changed files
with
161 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,33 @@ | ||
# Python Interpreter # | ||
# python environment # | ||
###################### | ||
desktopApp/app/src/python/* | ||
desktopApp/env/* | ||
|
||
# electron # | ||
###################### | ||
desktopApp/electron-*/* | ||
|
||
# desktop application node_modules # | ||
#################################### | ||
desktopApp/node_modules/* | ||
|
||
# desktopApp jobs # | ||
################### | ||
desktopApp/app/jobs/* | ||
|
||
|
||
# web application node_modules # | ||
################################ | ||
webApp/node_modules/* | ||
|
||
|
||
# webApp jobs # | ||
############### | ||
webApp/src/public/results/* | ||
|
||
# releases # | ||
############ | ||
releases/* | ||
|
||
# __pycache__ # | ||
############### | ||
*/__pycache__/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.36 KB
desktopApp/app/src/pyModules/pygoslin/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.97 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/Adduct.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.1 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/Element.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.22 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/FattyAcid.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.78 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/Fragment.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.54 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidAdduct.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.85 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidCategory.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.31 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidClass.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.08 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidExceptions.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.01 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidFaBondType.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.33 KB
...pApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidIsomericSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.73 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidLevel.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.31 KB
...App/app/src/pyModules/pygoslin/domain/__pycache__/LipidMolecularSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.49 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidSpecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.36 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/LipidSpeciesInfo.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.62 KB
...pp/app/src/pyModules/pygoslin/domain/__pycache__/LipidStructuralSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.37 KB
desktopApp/app/src/pyModules/pygoslin/domain/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.48 KB
...opApp/app/src/pyModules/pygoslin/parser/__pycache__/BaseParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.57 KB
...src/pyModules/pygoslin/parser/__pycache__/GoslinFragmentParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.11 KB
...App/app/src/pyModules/pygoslin/parser/__pycache__/GoslinParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.06 KB
...opApp/app/src/pyModules/pygoslin/parser/__pycache__/HmdbParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.08 KB
.../app/src/pyModules/pygoslin/parser/__pycache__/LipidMapsParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.4 KB
desktopApp/app/src/pyModules/pygoslin/parser/__pycache__/Parser.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+15.7 KB
desktopApp/app/src/pyModules/pygoslin/parser/__pycache__/ParserCommon.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.62 KB
...app/src/pyModules/pygoslin/parser/__pycache__/SumFormulaParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+8.84 KB
...pp/src/pyModules/pygoslin/parser/__pycache__/SwissLipidsParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.37 KB
desktopApp/app/src/pyModules/pygoslin/parser/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
@ECHO OFF | ||
|
||
ECHO ** | ||
ECHO ** CREATION OF PYTHON VIRTUAL ENVIRONMENT | ||
ECHO ** | ||
|
||
:: SET WORKING DIRECTORY | ||
SET SRC_HOME="%~dp0" | ||
SET SRC_HOME=%SRC_HOME:"=% | ||
SET SRC_HOME=%SRC_HOME:~0,-1% | ||
|
||
:: SET env FOLDER | ||
SET SRC_ENV=%SRC_HOME%\..\env | ||
|
||
SETLOCAL EnableDelayedExpansion | ||
|
||
:: CHECK IF env FOLDER EXISTS | ||
:CHECK_ENV | ||
IF EXIST "%SRC_ENV%" ( | ||
|
||
GOTO ENV_CREATED | ||
|
||
) ELSE ( | ||
|
||
ECHO ** Check if Python is installed | ||
SET PYTHON=py | ||
|
||
WHERE !PYTHON! > NUL 2>&1 | ||
|
||
IF ERRORLEVEL 1 ( | ||
ECHO ** !PYTHON! was not found in PATH... | ||
GOTO USER_PYTHON | ||
) ELSE ( | ||
GOTO CREATE_ENV | ||
) | ||
|
||
) | ||
|
||
|
||
:: USER PYTHON INTRODUCTION | ||
:USER_PYTHON | ||
|
||
SET /P PYTHON="** Enter path to python.exe or 'q' to exit installation: " | ||
IF %PYTHON% == q GOTO END | ||
GOTO ASSERT_PYTHON | ||
|
||
|
||
:: CHECK IF PYTHON IS INSTALLED | ||
:ASSERT_PYTHON | ||
|
||
IF EXIST %PYTHON% ( | ||
|
||
GOTO CREATE_ENV | ||
|
||
) ELSE ( | ||
|
||
ECHO ** Python could not be found: %PYTHON% | ||
GOTO USER_PYTHON | ||
|
||
) | ||
|
||
|
||
:: CREATE VIRTUAL ENVIRONMENT | ||
:CREATE_ENV | ||
ECHO ** Check Python version | ||
|
||
FOR /F "useback delims=. tokens=1,2" %%I IN (`%PYTHON% --version`) DO ( | ||
|
||
IF NOT "%%I" == "Python 3" ( | ||
ECHO ** ERROR: Using %%I instead of Python 3 | ||
GOTO USER_PYTHON | ||
) | ||
|
||
IF NOT %%J GEQ 6 ( | ||
ECHO ** ERROR: Using %%I.%%J instead of Python 3.6 or greater | ||
GOTO USER_PYTHON | ||
) | ||
|
||
) | ||
|
||
ECHO ** Creating virtual environment | ||
CMD /C " "%PYTHON%" -m venv "%SRC_ENV%" " | ||
|
||
IF ERRORLEVEL 1 GOTO END | ||
|
||
SET SRC_SCRIPTS=%SRC_ENV%\Scripts | ||
|
||
REM UPGRADE PIP | ||
ECHO ** Upgrading pip | ||
CMD /C " "%SRC_SCRIPTS%\python.exe" -m pip install --upgrade pip " | ||
|
||
IF ERRORLEVEL 1 GOTO END | ||
|
||
REM INSTALAR NUMPY y PANDAS | ||
ECHO ** Installing modules | ||
CMD /C " "%SRC_SCRIPTS%\pip.exe" install numpy pandas xlrd xlwt " | ||
|
||
IF ERRORLEVEL 1 GOTO END | ||
|
||
GOTO ENV_CREATED | ||
|
||
|
||
|
||
:ENV_CREATED | ||
ECHO ** Virtual environment created | ||
GOTO END | ||
|
||
|
||
:END | ||
ECHO ** Installation process finished. Press ENTER to close... | ||
PAUSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+1.36 KB
webApp/src/tools/pyModules/pygoslin/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.96 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/Adduct.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.09 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/Element.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.22 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/FattyAcid.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.78 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/Fragment.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.54 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidAdduct.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.85 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidCategory.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.3 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidClass.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.08 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidExceptions.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidFaBondType.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.33 KB
...pp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidIsomericSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.73 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidLevel.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.31 KB
...p/src/tools/pyModules/pygoslin/domain/__pycache__/LipidMolecularSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.49 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidSpecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.35 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/LipidSpeciesInfo.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.62 KB
.../src/tools/pyModules/pygoslin/domain/__pycache__/LipidStructuralSubspecies.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.36 KB
webApp/src/tools/pyModules/pygoslin/domain/__pycache__/__init__.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+2.48 KB
webApp/src/tools/pyModules/pygoslin/parser/__pycache__/BaseParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.56 KB
...ols/pyModules/pygoslin/parser/__pycache__/GoslinFragmentParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.1 KB
...p/src/tools/pyModules/pygoslin/parser/__pycache__/GoslinParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.05 KB
webApp/src/tools/pyModules/pygoslin/parser/__pycache__/HmdbParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+9.08 KB
...rc/tools/pyModules/pygoslin/parser/__pycache__/LipidMapsParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+4.4 KB
webApp/src/tools/pyModules/pygoslin/parser/__pycache__/Parser.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+15.7 KB
webApp/src/tools/pyModules/pygoslin/parser/__pycache__/ParserCommon.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+3.62 KB
...c/tools/pyModules/pygoslin/parser/__pycache__/SumFormulaParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+8.84 KB
.../tools/pyModules/pygoslin/parser/__pycache__/SwissLipidsParserEventHandler.cpython-39.pyc
Binary file not shown.
Binary file added
BIN
+1.36 KB
webApp/src/tools/pyModules/pygoslin/parser/__pycache__/__init__.cpython-39.pyc
Binary file not shown.