diff --git a/docs/_static/images/CapNInterdigital.png b/docs/_static/images/CapNInterdigitalTee.png similarity index 100% rename from docs/_static/images/CapNInterdigital.png rename to docs/_static/images/CapNInterdigitalTee.png diff --git a/docs/_static/images/NCap.png b/docs/_static/images/NCap.png new file mode 100644 index 00000000..8338bf47 Binary files /dev/null and b/docs/_static/images/NCap.png differ diff --git a/docs/conf.py b/docs/conf.py index d2a02788..fff39fdf 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -10,7 +10,7 @@ project = 'SQuADDS' copyright = '2023, Sadman Ahmed Shanto & Eli Levenson-Falk' author = 'Sadman Ahmed Shanto' -release = "0.3.2" +release = "0.3.3" # General configuration exclude_patterns = [ diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index e1e08878..bffab561 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -1,6 +1,17 @@ Release Notes ============= +Version 0.3.3 (2024-09-20) +-------------------------- + +* **Alpha Version 0.3.3** + +**New Features** + +- Patched some bugs in simulation and contribution info query + +--- + Version 0.3.2 (2024-08-30) -------------------------- diff --git a/setup.py b/setup.py index 39535212..64f89176 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='SQuADDS', - version='0.3.2', + version='0.3.3', packages=find_packages(), description='Our project introduces an open-source database of programmatically generated and experimentally validated superconducting quantum device designs, accessible through a user-friendly interface, significantly lowering the entry barrier for research in this field.', long_description=open('README.md').read(), diff --git a/squadds/__init__.py b/squadds/__init__.py index d6f845fa..018eb78f 100644 --- a/squadds/__init__.py +++ b/squadds/__init__.py @@ -1,6 +1,6 @@ import os -__version__ = '0.3.2' +__version__ = '0.3.3' __license__ = "MIT License" __copyright__ = 'Sadman Ahmed Shanto, Eli Levenson-Falk 2023' __author__ = 'Sadman Ahmed Shanto, Eli Levenson-Falk' diff --git a/squadds/components/coupled_systems.py b/squadds/components/coupled_systems.py index 6554f9d5..326f722f 100644 --- a/squadds/components/coupled_systems.py +++ b/squadds/components/coupled_systems.py @@ -1,4 +1,3 @@ -import warnings from collections import OrderedDict import numpy as np @@ -64,11 +63,7 @@ def make(self): self.make_qubit() self.make_cavity() self.make_pins() - warnings.warn( - "There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options", - ResourceWarning - ) - # print("There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options") + print("There may be \"kinks\" in the CPW. This is due to the ``asymmetry`` parameter in the CPW options. To remove the kinks, change the ``asymmetry`` parameter until the CPW is smooth.\nAlternatively, you may consider playing with the ``start_jogged_extension`` options") def make_qubit(self): """ diff --git a/squadds/core/db.py b/squadds/core/db.py index ff1df7bf..ff92628c 100644 --- a/squadds/core/db.py +++ b/squadds/core/db.py @@ -11,12 +11,11 @@ import requests from datasets import get_dataset_config_names, load_dataset from huggingface_hub import login -from tabulate import tabulate -from tqdm import tqdm - from squadds.core.design_patterns import SingletonMeta from squadds.core.processing import * from squadds.core.utils import * +from tabulate import tabulate +from tqdm import tqdm #* HANDLE WARNING MESSAGES if sys.platform == "darwin": # Checks if the operating system is macOS @@ -299,6 +298,9 @@ def view_datasets(self): # Transpose the table (convert columns to rows) table = list(map(list, zip(*table))) + # Remove duplicate entries in table + table = [list(x) for x in set(tuple(x) for x in table)] + # Print the table with headers print(tabulate(table, headers=["Component", "Component Name", "Data Available", "Component Image"],tablefmt="grid")) diff --git a/squadds/simulations/objects.py b/squadds/simulations/objects.py index 90dd0856..51f80a14 100644 --- a/squadds/simulations/objects.py +++ b/squadds/simulations/objects.py @@ -266,7 +266,7 @@ def run_eigenmode(design, geometry_dict, sim_options): mesh_lengths = {} coupler_type = "CLT" # "finger_count" in geometry_dict["cplr_opts"] - if geometry_dict['cprl_opts'].get('finger_count') is not None : + if geometry_dict['cplr_opts'].get('finger_count') is not None : coupler_type = "NCap" render_simulation_no_ports(epra, [cpw,claw], [(cpw.name, "start")], config.design_name, setup.vars) mesh_lengths = {'mesh1': {"objects": [f"trace_{cpw.name}", f"readout_connector_arm_{claw.name}"], "MaxLength": '4um'}} diff --git a/wish_list.md b/wish_list.md index e13289a1..7ff5ee8b 100644 --- a/wish_list.md +++ b/wish_list.md @@ -142,6 +142,9 @@ Refer to [contribution guidelines](CONTRIBUTING.md) for more information on how ## Boring but Necessary: +- fix interpolated designs sim run +- add meander smoothing support +- checking for claw dims on H space plot - **Check for breaking changes in the latest version of dependencies and update the package accordingly** - create unit tests for each feature/file - create proper train/test/splits and changing `SQuADDS_DB()` to always return all data