From 10cf596e71343bce2bf855294e9e5a50592e216a Mon Sep 17 00:00:00 2001 From: Zlatko Minev Date: Mon, 20 May 2024 22:09:12 -0400 Subject: [PATCH] merge in (#157) * Update README.md (#156) * Update back_box_numeric.py - fix lint error for Qobj import (#155) * Update back_box_numeric.py - fix lint error for Qobj import fix lint error for Qobj import * Update plotting.py colors = None fix lint * Update ansys.py * Update the joining of `project_path` and `project_name` to pathlib convention (#154) --------- Co-authored-by: Barkay Guttel <51173082+bguttel@users.noreply.github.com> --- README.md | 10 +++++----- pyEPR/ansys.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 14e0e30..4f93db2 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ Welcome to pyEPR :beers:!      (see [arXiv:2010.00620](https://arxiv.org/abs/2010.00620)) =================== +### Automated Python module for the design and quantization of Josephson quantum circuits + [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.png?v=103)](https://github.com/zlatko-minev/pyEPR) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/zlatko-minev/pyEPR) -[![star this repo](http://githubbadges.com/star.svg?user=zlatko-minev&repo=pyEPR&style=flat)](https://github.com/zlatko-minev/pyEPR) -[![fork this repo](http://githubbadges.com/fork.svg?user=zlatko-minev&repo=pyEPR&style=flat)](https://github.com/zlatko-minev/pyEPR/fork) -[![Anaconda-Server Badge](https://anaconda.org/conda-forge/pyepr-quantum/badges/installer/conda.svg)](https://conda.anaconda.org/conda-forge) +[![Star pyEPR](https://img.shields.io/badge/⭐-Star%20pyEPR-blue?style=flat)](https://github.com/zlatko-minev/pyEPR/stargazers) +[![Fork pyEPR](https://img.shields.io/badge/🍴-Fork%20pyEPR-blue?style=flat)](https://github.com/zlatko-minev/pyEPR/fork) +
[![PyPI version](https://badge.fury.io/py/pyEPR-quantum.svg)](https://badge.fury.io/py/pyEPR-quantum) [![DOI](https://zenodo.org/badge/101073856.svg)](https://zenodo.org/badge/latestdoi/101073856) - -### Automated Python module for the design and quantization of Josephson quantum circuits ### Documentation diff --git a/pyEPR/ansys.py b/pyEPR/ansys.py index 5fa8eee..f95759d 100644 --- a/pyEPR/ansys.py +++ b/pyEPR/ansys.py @@ -3246,7 +3246,7 @@ def load_ansys_project(proj_name: str, ), "ERROR! project_path is not a valid directory \N{loudly crying face}.\ Check the path, and especially \\ characters." - project_path /= project_path / Path(proj_name + extension) + project_path = Path(project_path, proj_name).with_suffix(extension) if (project_path).is_file(): logger.info('\tFile path to HFSS project found.')