Skip to content

Commit

Permalink
Updated PyPi, ReadTheDocs, and Travis CI badges
Browse files Browse the repository at this point in the history
Updated badges, fixed all parts that said "mshavlik; lperezmo" and replaced for "lperezmo"
  • Loading branch information
lperezmo committed Aug 22, 2020
1 parent 70bb747 commit 0800b6c
Show file tree
Hide file tree
Showing 9 changed files with 836 additions and 46 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ script: tox
deploy:
provider: pypi
distributions: sdist bdist_wheel
user: mshavlik; lperezmo
user: lperezmo
password:
secure: PLEASE_REPLACE_ME
secure: this_is_not_used
on:
tags: true
repo: mshavlik; lperezmo/flowsym
repo: lperezmo/flowsym
python: 3.8
5 changes: 3 additions & 2 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ Credits
Development Lead
----------------

* Michael M. Shavlik; Luis Perez Morales <mshavlik@uoregon.edu; lperezmo@uoregon.edu>
* Luis Perez Morales; <lperezmo@uoregon.edu>
* Michael M. Shavlik; <mshavlik@uoregon.edu>

Contributors
------------

None yet. Why not be the first?
* Michael J. Harms; <harms@uoregon.edu>
23 changes: 9 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,29 @@ flowsym
=======


.. image:: https://img.shields.io/pypi/v/flowsym.svg
:target: https://pypi.python.org/pypi/flowsym
.. image:: https://badge.fury.io/py/flowsym.svg
:target: https://badge.fury.io/py/flowsym

.. image:: https://img.shields.io/travis/mshavlik; lperezmo/flowsym.svg
:target: https://travis-ci.com/mshavlik; lperezmo/flowsym
.. image:: https://travis-ci.com/harmslab/flowsym.svg?branch=master
:target: https://travis-ci.com/harmslab/flowsym

.. image:: https://readthedocs.org/projects/flowsym/badge/?version=latest
:target: https://flowsym.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
:target: https://flowsym.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status


.. image:: https://pyup.io/repos/github/mshavlik; lperezmo/flowsym/shield.svg
:target: https://pyup.io/repos/github/mshavlik; lperezmo/flowsym/
:alt: Updates



A Python API for simulating flow cytometry data
**A Python API for simulating flow cytometry data.**


* Free software: MIT license
* Documentation: https://flowsym.readthedocs.io.
* Documentation: https://flowsym.readthedocs.io/


Features
--------

* TODO


Credits
-------
Expand Down
6 changes: 6 additions & 0 deletions flowsym/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
__author__ = """Michael M. Shavlik; Luis Perez Morales"""
__email__ = 'mshavlik@uoregon.edu; lperezmo@uoregon.edu'
__version__ = '0.1.0'

# Import the main module in this package
from flowsym.flowsym import *

# from . import __version__

30 changes: 27 additions & 3 deletions flowsym/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,34 @@
@click.command()
def main(args=None):
"""Console script for flowsym."""
click.echo("Replace this message by putting your code into "
"flowsym.cli.main")
click.echo("See click documentation at https://click.palletsprojects.com/")
click.echo("Welcome to FlowSym, a Python API used to simulate flow "
"cytometry data!"
"\n\n"
"If you don't see any warning messages above then you're "
"all set!")
click.echo("See documentation at ")
return 0
# Check to see if fcsy and hdbscan are installed on machine
import importlib.util

package_name = 'fcsy'
spec = importlib.util.find_spec(package_name)
if spec is None:
print(
f"{package_name} is not installed, please install {package_name} to write fcs files in the \'measure\' function!")

package2_name = 'hdbscan'
spec2 = importlib.util.find_spec(package2_name)
if spec2 is None:
print(
f"{package2_name} is not installed, please install {package2_name} to cluster data in the \'cluster\' function!")

package3_name = 'unidip'
spec3 = importlib.util.find_spec(package3_name)
if spec3 is None:
print(
f"{package3_name} is not installed, please install {package3_name} to perform a dip test in the \'dip_test\' "
f"function!")


if __name__ == "__main__":
Expand Down
Loading

0 comments on commit 0800b6c

Please sign in to comment.