From f954554d95eb23ef719182fe81a629866f394105 Mon Sep 17 00:00:00 2001 From: Ziwen Liu <67518483+ziw-liu@users.noreply.github.com> Date: Thu, 23 May 2024 14:12:27 -0700 Subject: [PATCH] Add CITATION.cff (#79) * add CITATION.cff * fix matplotlib 3.9.0 breakage --- CITATION.cff | 37 +++++++++++++++++++++++++++++++++++++ viscy/light/engine.py | 2 +- 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 00000000..8e3c763a --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,37 @@ +# This CITATION.cff file was generated with cffinit. +# Visit https://bit.ly/cffinit to generate yours today! + +cff-version: 1.2.0 +title: VisCy +message: >- + If you use this software, please cite it using the + metadata from this file. +type: software +authors: + - given-names: Ziwen + family-names: Liu + email: ziwen.liu@czbiohub.org + affiliation: Chan Zuckerberg Biohub San Francisco + orcid: 'https://orcid.org/0000-0001-7482-1299' + - given-names: Eduardo + family-names: Hirata-Miyasaki + affiliation: Chan Zuckerberg Biohub San Francisco + orcid: 'https://orcid.org/0000-0002-1016-2447' + - given-names: Christian + family-names: Foley + - given-names: Soorya + family-names: Pradeep + affiliation: Chan Zuckerberg Biohub San Francisco + orcid: 'https://orcid.org/0000-0002-0926-1480' + - given-names: Shalin + family-names: Mehta + affiliation: Chan Zuckerberg Biohub San Francisco + orcid: 'https://orcid.org/0000-0002-2542-3582' +repository-code: 'https://github.com/mehta-lab/VisCy' +url: 'https://github.com/mehta-lab/VisCy' +abstract: computer vision models for single-cell phenotyping +keywords: + - machine-learning + - computer-vision + - bioimage-analysis +license: BSD-3-Clause diff --git a/viscy/light/engine.py b/viscy/light/engine.py index 3dc92b74..f3886147 100644 --- a/viscy/light/engine.py +++ b/viscy/light/engine.py @@ -6,7 +6,7 @@ import torch from imageio import imwrite from lightning.pytorch import LightningModule -from matplotlib.cm import get_cmap +from matplotlib.pyplot import get_cmap from monai.optimizers import WarmupCosineSchedule from monai.transforms import DivisiblePad from skimage.exposure import rescale_intensity