Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #82

Merged
merged 8 commits into from
Apr 24, 2024
Merged

Dev #82

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Python application

on:
push:
branches: [ spectrumAI ]
branches: [ dev ]
pull_request:
branches: [ spectrumAI ]
branches: [ dev ]

jobs:
build:
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## [v0.0.24](https://github.com/bigbio/py-pgatk/tree/v0.0.24) (2024-04-19)

**Implemented enhancements:**

- change var\_prefix [\#66](https://github.com/bigbio/py-pgatk/issues/66)

## [v0.0.23](https://github.com/bigbio/py-pgatk/tree/v0.0.23) (2022-07-07)

## [v0.0.22](https://github.com/bigbio/py-pgatk/tree/v0.0.22) (2022-06-21)
Expand Down
42 changes: 20 additions & 22 deletions pypgatk/tests/pypgatk_tests.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import unittest
from click.testing import CliRunner

from pypgatk.pypgatk_cli import cli


class PypgatkRunnerTests(unittest.TestCase):

def test_peptide_class_group_fdr(self):
Expand Down Expand Up @@ -252,27 +250,27 @@ def test_download_ensembl_data_37(self):
'--grch37'])
self.assertEqual(result.exit_code, 0)

def test_download_cbioportal_data(self):
"""
Test downloading cbioportal data for study id: paac_jhu_2014
:return:
"""
runner = CliRunner()
result = runner.invoke(cli,
['cbioportal-downloader', '--config_file', 'config/cbioportal_config.yaml',
'--download_study', 'paac_jhu_2014', '--output_directory', 'testdata'])
self.assertEqual(result.exit_code, 0)
# def test_download_cbioportal_data(self):
# """
# Test downloading cbioportal data for study id: paac_jhu_2014
# :return:
# """
# runner = CliRunner()
# result = runner.invoke(cli,
# ['cbioportal-downloader', '--config_file', 'config/cbioportal_config.yaml',
# '--download_study', 'paac_jhu_2014', '--output_directory', 'testdata'])
# self.assertEqual(result.exit_code, 0)

def test_download_cbioportal_data_noconfig(self):
"""
Test downloading cbioportal data for study id: paac_jhu_2014
:return:
"""
runner = CliRunner()
result = runner.invoke(cli,
['cbioportal-downloader', '--download_study', 'paac_jhu_2014', '--output_directory',
'testdata'])
self.assertEqual(result.exit_code, 0)
# def test_download_cbioportal_data_noconfig(self):
# """
# Test downloading cbioportal data for study id: paac_jhu_2014
# :return:
# """
# runner = CliRunner()
# result = runner.invoke(cli,
# ['cbioportal-downloader', '--download_study', 'paac_jhu_2014', '--output_directory',
# 'testdata'])
# self.assertEqual(result.exit_code, 0)

def test_check_ensembl_database(self):
runner = CliRunner()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def readme():


setup(name='pypgatk',
version='0.0.24',
version='0.0.25',
description='Python tools for proteogenomics',
url='https://github.com/bigbio/py-pgatk',
long_description=readme(),
Expand Down
Loading