Skip to content

Commit

Permalink
transitioned csodiaq to use pyproject.toml for installation
Browse files Browse the repository at this point in the history
  • Loading branch information
CCranney committed Aug 29, 2023
1 parent 72b4f00 commit 5046e28
Show file tree
Hide file tree
Showing 45 changed files with 43 additions and 75 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install pytest
pip install pyopenms
pip install psims
pip install -e .
- name: Unzip system test file
run: |
Expand Down
39 changes: 39 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[project]
name = "CsoDIAq"
version = "2.0.0"
authors = [
{ name="Caleb Cranney", email="caleb.cranney.github@proton.me" },
]
description = "Bioinformatics software package for identifying peptides and proteins in DIA and DISPA mass spectrometry data files."
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]

dependencies = [
'pyteomics>=4.4.1',
'matplotlib>=3.3.4',
'numba>=0.53.1',
'numpy>=1.20.1',
'pandas>=1.2.2',
'Bio>=0.4.1',
'PyQt5>=5.15.4',
'lxml>=4.6.2',
'scikit-learn>=1.1.2',
]


[project.urls]
"Homepage" = "https://github.com/xomicsdatascience/CsoDIAq"
"Bug Tracker" = "https://github.com/xomicsdatascience/CsoDIAq/issues"

[project.scripts]
csodiaq = "csodiaq.csodiaq:main"
7 changes: 0 additions & 7 deletions requirements.txt

This file was deleted.

55 changes: 0 additions & 55 deletions setup.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion csodiaq/gui/gui.py → src/csodiaq/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
QApplication,
)
import sys
import os

from csodiaq.gui.windows import MainWindow

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from PyQt5.QtWidgets import (
QMainWindow,
)
from PyQt5.QtCore import Qt
from csodiaq.gui.windows.TableWindow import TableWindow


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import pandas as pd
import numpy as np
from csodiaq.scoring.scoringFunctions import (
calculate_fdr_rates_of_decoy_array,
)
from csodiaq.utils import format_protein_list_to_string, format_protein_string_to_list


def format_output_line(libMetadata, queMetadata, matchMetadata):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
from csodiaq.loaders.library.libraryLoaderContext import LibraryLoaderContext
from csodiaq.loaders.query.queryLoaderContext import QueryLoaderContext
import pandas as pd
import warnings
from bisect import bisect

Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
from csodiaq.loaders.query import QueryLoaderContext
from csodiaq.loaders.library import LibraryLoaderContext
from csodiaq.loaders.query import QueryLoaderContext
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from csodiaq.loaders.library.libraryLoaderStrategyMgf import (
LibraryLoaderStrategyMgf as Mgf,
)
from csodiaq.loaders.library.libraryLoaderStrategy import LibraryLoaderStrategy
import os


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
remove_low_intensity_peaks_below_max_peak_num,
finalVariableNames,
)
import pandas as pd
import os
from pyteomics import mgf
import re
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from matplotlib import pyplot as plt
from csodiaq.plotting.spectrum import Spectrum
from src.csodiaq.plotting.spectrum import Spectrum


def spectrum_lineplot(spectrum: Spectrum,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5046e28

Please sign in to comment.