Skip to content

Commit

Permalink
Merge pull request #82 from bigbio/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
ypriverol authored Apr 24, 2024
2 parents 3939fc2 + cb9e9ab commit e454c3d
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 25 deletions.
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='http://github.com/bigbio/py-pgatk',
long_description=readme(),
Expand Down

0 comments on commit e454c3d

Please sign in to comment.