Update: moFF: Pandas version limited to <1.0.0 in order to avoid problems using .ix… #21956
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… (removed from pandas 1.0.0 and above).
There is currently a problem when executing moFF caused by an update of Pandas library. My execution of moFF gives an error like this:
Starting Apex for ./ident_inputs/Label-PSM-ToDelete.raw ... moff Input file: ./ident_inputs/Label-PSM-ToDelete.raw XIC_tol 10.0 XIC_win 3.0000 moff_rtWin_peak 1.0000 RAW file : ['./raws/qExactive01819.raw.raw'] Output file in : ./out starting peptide quantification (ms2 / matched ) .. Traceback (most recent call last): File "/home/carlos/GitHub/galaxy/database/dependencies/_conda/envs/__moff@2.0.2/share/moff-2.0.2-2/moff.py", line 870, in apex_multithr temp.ix[:, 'tol'] = int(tol) File "/home/carlos/GitHub/galaxy/database/dependencies/_conda/envs/__moff@2.0.2/lib/python3.6/site-packages/pandas/core/generic.py", line 5274, in __getattr__ return object.__getattribute__(self, name) AttributeError: 'DataFrame' object has no attribute ix
This is due to the fact that pandas 1.0.0 has removed support for DataFrame.ix , and all installations later than 2020/01/30 will install Pandas 1.0.0 instead of the previous ones which just showed a warning (pandas-dev/pandas#26438) about the future (now present) removal of it.
So, whilst new indexes replace old .ix, I suggest to limit pandas version prior to 1.0.0 in order to avoid execution errors running moFF.
Please read the guidelines for Bioconda recipes before opening a pull request (PR).
@BiocondaBot please add label
command.@bioconda/core
in a comment.Please use the following BiocondaBot commands:
Everyone has access to the following BiocondaBot commands, which can be given in a comment:
@BiocondaBot please update
@BiocondaBot please add label
please review & merge
label.@BiocondaBot please fetch artifacts
You can use this to test packages locally.
For members of the Bioconda project, the following command is also available:
@BiocondaBot please merge
Someone must approve a PR first!
This reduces CI build time by reusing built artifacts.
Also, the bot watches for comments from non-members that include
@bioconda/<team>
and will automatically re-post them to notify the addressed<team>
.