Skip to content

dynamic version - #230

Merged
jpfeuffer merged 5 commits into
bigbio:devfrom
WangHong007:dev
Oct 17, 2022
Merged

jpfeuffer merged 5 commits into
bigbio:devfrom
WangHong007:dev

Conversation

@WangHong007

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Oct 15, 2022 •

Copy link
Copy Markdown

nf-core lint overall result: Passed ✅

Posted for pipeline commit c466e5e

+| ✅ 155 tests passed       |+
#| ❔   3 tests were ignored |#
Details

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.6
  • Run at 2022-10-15 01:10:37

@jpfeuffer jpfeuffer left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good in general. Did you check the output?
I'm surprised that you can check packages with pip when they are installed with Conda.

@WangHong007

Copy link
Copy Markdown
Contributor Author

@jpfeuffer Hi Julianus!

When I run with conda use "import pyopenms; print(pyopenms.__version__)", I got the following version information:

"NFCORE_QUANTMS:QUANTMS:FILE_PREPARATION:MZMLSTATISTICS":
    pyopenms: Warning: OPENMS_DATA_PATH environment variable already exists. pyOpenMS will use it (/home/qinchunyuan/proteomicsDIA/quantms-newPR/work/conda/env-b594964cb2f9d0131205be432178f63f/share/OpenMS/) to locate data in the OpenMS share folder (e.g., the unimod database), instead of the default (/home/qinchunyuan/proteomicsDIA/quantms-newPR/work/conda/env-b594964cb2f9d0131205be432178f63f/lib/python3.10/site-packages/pyopenms/share/OpenMS).
2.8.0

To achieve the dynamic version I used pip show package and the output looks fine, here collated_versions.yml. The error in conda CI is very strange.

@jpfeuffer

Copy link
Copy Markdown
Collaborator

That warning should not happen on fresh installs and we could add a regex to parse for the version after the warning. But if pip show works for both Conda and Container, I am fine with it.

@jpfeuffer

Copy link
Copy Markdown
Collaborator

The Conda error is just a race condition of Conda/mamba trying to install multiple environments. We should try the new micromamba support in another PR.

@ypriverol

ypriverol commented Oct 17, 2022 •

Copy link
Copy Markdown
Contributor

should we force this merge? @jpfeuffer

@jpfeuffer
jpfeuffer merged commit 1ace2fb into bigbio:dev Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants