diff options
Diffstat (limited to 'python-cylinter.spec')
| -rw-r--r-- | python-cylinter.spec | 120 |
1 files changed, 120 insertions, 0 deletions
diff --git a/python-cylinter.spec b/python-cylinter.spec new file mode 100644 index 0000000..34dbf81 --- /dev/null +++ b/python-cylinter.spec @@ -0,0 +1,120 @@ +%global _empty_manifest_terminate_build 0 +Name: python-cylinter +Version: 0.0.45 +Release: 1 +Summary: CyLinter +License: MIT License +URL: https://github.com/labsyspharm/cylinter +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c0/d0/e80c883c25650e547ffcace71ca053506a113d37c2f9198046175115c646/cylinter-0.0.45.tar.gz +BuildArch: noarch + + +%description + + + +## An Interactive Image Segmentation Filter for Multiplex Microscopy. + +CyLinter is quality control software for identifying and removing cell segmentation instances corrupted by optical and/or image-processing artifacts in multiplex microscopy images. The tool is user-guided and comprises a set of modular and extensible QC modules instantiated in a configurable [Python](https://www.python.org) Class object. Module results are cached to allow for dynamic restarts. + +CyLinter development is led by [Greg Baker](https://github.com/gjbaker) at the [Laboratory of Systems Pharmacology](https://hits.harvard.edu/the-program/laboratory-of-systems-pharmacology/about/), Harvard Medical School. + +**Funding:** This work is supported by the following: + +* *NCI grant U2C-CA233262: Pre-cancer Atlases of Cutaneous and Hematologic Origin* +* *NIH grant U54CA225088: Systems Pharmacology of Therapeutic and Adverse Responses to Immune Checkpoint and Small Molecule Drugs* +* *Ludwig Center at Harvard Medical School and the Ludwig Cancer Research Foundation* + +**Instructions:** https://labsyspharm.github.io/cylinter/ + + +%package -n python3-cylinter +Summary: CyLinter +Provides: python-cylinter +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-cylinter + + + +## An Interactive Image Segmentation Filter for Multiplex Microscopy. + +CyLinter is quality control software for identifying and removing cell segmentation instances corrupted by optical and/or image-processing artifacts in multiplex microscopy images. The tool is user-guided and comprises a set of modular and extensible QC modules instantiated in a configurable [Python](https://www.python.org) Class object. Module results are cached to allow for dynamic restarts. + +CyLinter development is led by [Greg Baker](https://github.com/gjbaker) at the [Laboratory of Systems Pharmacology](https://hits.harvard.edu/the-program/laboratory-of-systems-pharmacology/about/), Harvard Medical School. + +**Funding:** This work is supported by the following: + +* *NCI grant U2C-CA233262: Pre-cancer Atlases of Cutaneous and Hematologic Origin* +* *NIH grant U54CA225088: Systems Pharmacology of Therapeutic and Adverse Responses to Immune Checkpoint and Small Molecule Drugs* +* *Ludwig Center at Harvard Medical School and the Ludwig Cancer Research Foundation* + +**Instructions:** https://labsyspharm.github.io/cylinter/ + + +%package help +Summary: Development documents and examples for cylinter +Provides: python3-cylinter-doc +%description help + + + +## An Interactive Image Segmentation Filter for Multiplex Microscopy. + +CyLinter is quality control software for identifying and removing cell segmentation instances corrupted by optical and/or image-processing artifacts in multiplex microscopy images. The tool is user-guided and comprises a set of modular and extensible QC modules instantiated in a configurable [Python](https://www.python.org) Class object. Module results are cached to allow for dynamic restarts. + +CyLinter development is led by [Greg Baker](https://github.com/gjbaker) at the [Laboratory of Systems Pharmacology](https://hits.harvard.edu/the-program/laboratory-of-systems-pharmacology/about/), Harvard Medical School. + +**Funding:** This work is supported by the following: + +* *NCI grant U2C-CA233262: Pre-cancer Atlases of Cutaneous and Hematologic Origin* +* *NIH grant U54CA225088: Systems Pharmacology of Therapeutic and Adverse Responses to Immune Checkpoint and Small Molecule Drugs* +* *Ludwig Center at Harvard Medical School and the Ludwig Cancer Research Foundation* + +**Instructions:** https://labsyspharm.github.io/cylinter/ + + +%prep +%autosetup -n cylinter-0.0.45 + +%build +%py3_build + +%install +%py3_install +install -d -m755 %{buildroot}/%{_pkgdocdir} +if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi +if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi +if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi +if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi +pushd %{buildroot} +if [ -d usr/lib ]; then + find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/lib64 ]; then + find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/bin ]; then + find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst +fi +if [ -d usr/sbin ]; then + find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst +fi +touch doclist.lst +if [ -d usr/share/man ]; then + find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst +fi +popd +mv %{buildroot}/filelist.lst . +mv %{buildroot}/doclist.lst . + +%files -n python3-cylinter -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Wed May 17 2023 Python_Bot <Python_Bot@openeuler.org> - 0.0.45-1 +- Package Spec generated |
