-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use find_packages() in setup.py * removing 3.6 * added conda config and CI * add docs to expression inout * update docs * Update run_panda.py * py36 EOL * update sambar * Fix lioness (#218): fixed panda and lioness behavior. Started refactoring the code by defining functions that are then called by the class methods. Added start and end for Panda and Puma, this is similar to what happens with R implementation. Lioness uses the same formula as R. Updated tests for the new behavior. Separated cpu and gpu Co-authored-by: Thomas Gilgenast <thomas@vant.ai> Co-authored-by: Marouen <marouenbg@users.noreply.github.com> Co-authored-by: marouenbg <marouen.b.guebila@gmail.com> Co-authored-by: violafanfani <viol.fanfani@gmail.com>
- Loading branch information
1 parent
00ef6dc
commit a1e0530
Showing
32 changed files
with
89,106 additions
and
871 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: conda release manual | ||
on: | ||
workflow_dispatch: | ||
branches: | ||
- master | ||
- devel | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.6, 3.7, 3.8, 3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "Setup Conda" | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
conda-channels: anaconda, conda-forge, bioconda | ||
- name: "Install Conda development packages" | ||
run: | | ||
conda install conda-build | ||
conda install -c anaconda anaconda-client | ||
- name: "Build and upload package" | ||
run: | | ||
mkdir conda-build | ||
conda build . --no-build-id --output-folder ./conda-build | ||
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build | ||
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u netzoo --no-progress ./conda-build/**/netzoopy*.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: publish on release conda | ||
on: | ||
release: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "Setup Conda" | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
conda-channels: anaconda, conda-forge, bioconda | ||
- name: "Install Conda development packages" | ||
run: | | ||
conda install conda-build | ||
conda install -c anaconda anaconda-client | ||
- name: "Build and upload package" | ||
run: | | ||
mkdir conda-build | ||
conda build . --no-build-id --output-folder ./conda-build | ||
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build | ||
anaconda -t ${{ secrets.ANACONDA_TOKEN }} upload --force -u netzoo --no-progress ./conda-build/**/netzoopy*.bz2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: test conda | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- devel | ||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
python-version: [3.9] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: "Setup Conda" | ||
uses: s-weigand/setup-conda@v1 | ||
with: | ||
update-conda: true | ||
python-version: ${{ matrix.python-version }} | ||
conda-channels: anaconda, conda-forge, bioconda | ||
- name: "Install Conda development packages" | ||
run: | | ||
conda install conda-build | ||
conda install -c anaconda anaconda-client | ||
- name: "Build and upload package" | ||
run: | | ||
mkdir conda-build | ||
conda build . --no-build-id --output-folder ./conda-build | ||
conda convert -p all ./conda-build/**/netzoopy*.bz2 --output-dir ./conda-build --dry-run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,3 +39,8 @@ pt_out.csv | |
reg_memb.txt | ||
tar_memb.txt | ||
gt_panda*.txt | ||
|
||
|
||
!tests/lioness | ||
!tests/lioness/* | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
python: | ||
- 3.9 | ||
- 3.8 | ||
- 3.7 | ||
- 3.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
package: | ||
name: netzoopy | ||
version: 0.8.1 | ||
|
||
source: | ||
path: .. | ||
|
||
build: | ||
number: 0 | ||
script: "python -m pip install . --no-deps --ignore-installed -vv" | ||
|
||
requirements: | ||
build: | ||
- numpy>=1.19.2 | ||
- python {{ python }} | ||
- networkx>=2.6.3 | ||
- matplotlib>=3.3.4 | ||
- scipy>=1.5.3 | ||
- python-igraph>=0.9.6 | ||
- joblib>=1.1.0 | ||
- statsmodels>=0.12.2 | ||
run: | ||
- numpy>=1.19.2 | ||
- python {{ python }} | ||
- networkx>=2.6.3 | ||
- matplotlib>=3.3.4 | ||
- scipy>=1.5.3 | ||
- python-igraph>=0.9.6 | ||
- joblib>=1.1.0 | ||
- statsmodels>=0.12.2 | ||
|
||
test: | ||
commands: | ||
- python -c "from netZooPy.panda.panda import Panda" | ||
|
||
about: | ||
home: https://github.com/netZoo/netZooPy | ||
summary: Python implementation of the NetZoo ecosystem | ||
license: GPL3 | ||
license_file: LICENSE | ||
dev_url: https://github.com/netZoo/netZooPy | ||
doc_url: netzoo.github.io/ | ||
description: | | ||
netZooPy is a Python package of network methods and it is part of the NetZoo family. |
Oops, something went wrong.