Commit 78dd1b09 authored by Andreas Tille's avatar Andreas Tille
Browse files

New upstream version 1.1.1

parent 2869178d
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -17,11 +17,14 @@ clean:
	find . -name "*.err" | xargs rm -f;\
	find . -name "*.log" | xargs rm -f;\
	rm -rf dist;\
	rm -rf docs/_build
	rm -rf docs/build
	rm -f FileTypes.h

test:
test-nose:
	nosetests -s --verbose --with-xunit --logging-config log_nose.cfg tests/test_*.py

test: test-nose run-pylint run-pep8

doc:
	cd docs && make html

@@ -34,8 +37,12 @@ build-tool-contracts:
	python -m pbcommand.cli.examples.dev_scatter_fasta_app --emit-tool-contract > ./tests/data/tool-contracts/dev_scatter_fasta_app_tool_contract.json
	python -m pbcommand.cli.examples.dev_quick_hello_world emit-tool-contracts -o ./tests/data/tool-contracts

run-pylint:
	pylint --errors-only pbcommand

run-pep8:
	find pbcommand -name "*.py" -exec pep8 --ignore=E501,E265,E731,E402,W292 {} \;
	# use xargs to propagate exit code
	find pbcommand -name "*.py" | xargs pep8 --ignore=E501,E265,E731,E402,W292

run-auto-pep8:
	find pbcommand -name "*.py" -exec autopep8 -i --ignore=E501,E265,E731,E402,W292 {} \;
@@ -50,3 +57,6 @@ extract-readme-snippets:
build-avro-schema-docs:
	# this requires nodejs + https://github.com/ept/avrodoc
	avrodoc pbcommand/schemas/*.avsc > index.html

cpp-header:
	python extras/make_cpp_file_types_header.py FileTypes.h
+4 −0
Original line number Diff line number Diff line
@@ -310,3 +310,7 @@ optional arguments:
                        Min Sequence Length filter (default: 25)
```


DISCLAIMER
----------
THIS WEBSITE AND CONTENT AND ALL SITE-RELATED SERVICES, INCLUDING ANY DATA, ARE PROVIDED "AS IS," WITH ALL FAULTS, WITH NO REPRESENTATIONS OR WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE. YOU ASSUME TOTAL RESPONSIBILITY AND RISK FOR YOUR USE OF THIS SITE, ALL SITE-RELATED SERVICES, AND ANY THIRD PARTY WEBSITES OR APPLICATIONS. NO ORAL OR WRITTEN INFORMATION OR ADVICE SHALL CREATE A WARRANTY OF ANY KIND. ANY REFERENCES TO SPECIFIC PRODUCTS OR SERVICES ON THE WEBSITES DO NOT CONSTITUTE OR IMPLY A RECOMMENDATION OR ENDORSEMENT BY PACIFIC BIOSCIENCES.
+1 −0
Original line number Diff line number Diff line
avro
requests
iso8601
pytz
+10 −0
Original line number Diff line number Diff line
nose
coverage
tox
autopep8
pylint
# Putting these here for RTD
sphinx-argparse
sphinx-bootstrap-theme
# I think this is a bug in jupyter client
# for some reason jupyter_client.manager is called
# which generates an ImportError
# maybe related https://github.com/jupyter/nbconvert/issues/495
jupyter_client
# for ipython notebooks in sphinx docs
nbsphinx
avro
requests
iso8601

bamboo_build.sh

0 → 100755
+29 −0
Original line number Diff line number Diff line
#!/bin/bash -ex

NX3PBASEURL=http://nexus/repository/unsupported/pitchfork/gcc-4.9.2
export PATH=$PWD/bin:/mnt/software/a/anaconda2/4.2.0/bin:$PATH
export PYTHONUSERBASE=$PWD
export CFLAGS="-I/mnt/software/a/anaconda2/4.2.0/include"
PIP="pip --cache-dir=$bamboo_build_working_directory/.pip"
type module >& /dev/null || . /mnt/software/Modules/current/init/bash
module load gcc/4.9.2

rm -rf bin lib include share
mkdir  bin lib include share

$PIP install --user \
  iso8601
$PIP install --user \
  $NX3PBASEURL/pythonpkgs/xmlbuilder-1.0-cp27-none-any.whl \
  $NX3PBASEURL/pythonpkgs/tabulate-0.7.5-cp27-none-any.whl \
  $NX3PBASEURL/pythonpkgs/pysam-0.9.1.4-cp27-cp27mu-linux_x86_64.whl \
  $NX3PBASEURL/pythonpkgs/avro-1.7.7-cp27-none-any.whl

$PIP install --user --upgrade pylint
$PIP install --user -r  REQUIREMENTS.txt
$PIP install --user -r  REQUIREMENTS_TEST.txt
$PIP install --user -e ./
nosetests -s --verbose --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-xml --cover-xml-file=coverage.xml --logging-config \
    log_nose.cfg tests/test_*.py
sed -i -e 's@filename="@filename="./@g' coverage.xml
make run-pylint run-pep8
Loading