Skip to content

Add deprecation warning for PSEA - #1384

Closed
souravsingh wants to merge 2 commits into
biopython:masterfrom
souravsingh:deprecate
Closed

souravsingh wants to merge 2 commits into
biopython:masterfrom
souravsingh:deprecate

Conversation

@souravsingh

Copy link
Copy Markdown
Contributor

Related to the discussion here in the mailing list- http://lists.open-bio.org/pipermail/biopython-dev/2017-July/021850.html

I am not able to communicate to the dev and the user mailing list, so I am putting the discussion about the Deprecation here.

@codecov

codecov Bot commented Sep 3, 2017

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@61310d7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1384   +/-   ##
=========================================
  Coverage          ?   81.47%           
=========================================
  Files             ?      318           
  Lines             ?    49002           
  Branches          ?        0           
=========================================
  Hits              ?    39925           
  Misses            ?     9077           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61310d7...5013fd0. Read the comment docs.

@codecov

codecov Bot commented Sep 3, 2017 •

Copy link
Copy Markdown

Codecov Report

❗ No coverage uploaded for pull request base (master@61310d7). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master    #1384   +/-   ##
=========================================
  Coverage          ?   84.46%           
=========================================
  Files             ?      319           
  Lines             ?    49050           
  Branches          ?        0           
=========================================
  Hits              ?    41428           
  Misses            ?     7622           
  Partials          ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 61310d7...5013fd0. Read the comment docs.

@JoaoRodrigues

Copy link
Copy Markdown
Member

I am sorry, but I seriously do not understand the reason to deprecate this module besides 'the software it supports is old'. Again, NACCESS is old(er) and DSSP is old(er) and we still support those modules.

Unless this particular module is being a pain to maintain (our Python code, not the tool itself), I am strongly against this deprecation. Unless we decide to re-code it ourselves and keep the functionality.

@souravsingh

souravsingh commented Sep 3, 2017 •

Copy link
Copy Markdown
Contributor Author

Currently as it stands, PSEA works fine for Mac, but doesn't compile for Windows and Linux, which is mentioned by @peterjc in the discussion here- http://lists.open-bio.org/pipermail/biopython-dev/2017-July/021851.html

So as far as it goes, We have two approaches-

  1. Get the software to work on Linux, which I have tried on three different distros and doesn't work.

  2. Deprecate the module for now and mention that the functionality is being re-coded as a separate package.

I am in the favor of the second approach, since it can allow people who wish to use the software once we finish recoding it and making it available through Biopython.

@JoaoRodrigues

Copy link
Copy Markdown
Member

I got the code from here and compiled it on a BASH shell on Windows (WSL). You need to add an include to stdlib.h and compile with gcc -o p-sea -psea.c -lm to link with the math library.

Regardless, this is not our software so it doesn't matter if it compiles or not. What matters is that our code works. Deprecating a code just because it wraps old software is a bad idea in my opinion. The only decent alternative I see is to replace it with a better alternative ...

@peterjc

peterjc commented Sep 3, 2017

Copy link
Copy Markdown
Member

It sounds like Joao's approach would work to compile this for Linux too. If so, we should probably mention this somewhere like the PSEA module docstring?

It would also be fairly easy to define a BioConda package which we could use for TravisCI testing.

@peterjc

peterjc commented Sep 3, 2017

Copy link
Copy Markdown
Member

@peterjc peterjc closed this Sep 3, 2017
@souravsingh
souravsingh deleted the deprecate branch September 3, 2017 21:21
@souravsingh

Copy link
Copy Markdown
Contributor Author

The mail rebounds back saying the sending is failed due to "List not found".

@peterjc

peterjc commented Sep 3, 2017

Copy link
Copy Markdown
Member

@souravsingh please forward the rebound email to my GMail, and I'll pass it on to our mailing list team. Thanks!

@peterjc

peterjc commented Jan 9, 2020

Copy link
Copy Markdown
Member

It looks like @souravsingh got stuck trying to do a BioConda package,
bioconda/bioconda-recipes#5948

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.

3 participants