Skip to content

Conversation

@CoronelBuendia
Copy link
Contributor

@CoronelBuendia CoronelBuendia commented May 30, 2023

Linked Issues

Closes #{ID}

Description

⚠️ WIP ⚠️

Draft PR to provide visibility on the updates to the magnets module feature branch.

Needs:

Interface Changes

Checklist

I confirm that I have completed the following checks:

  • Tests run locally and pass pytest tests --reactor
  • Code quality checks run locally and pass flake8 and black .
  • Documentation built locally and checked sphinx-build -W documentation/source documentation/build

@CoronelBuendia CoronelBuendia requested a review from a team as a code owner May 30, 2023 10:15
@github-actions
Copy link
Contributor

github-actions bot commented May 30, 2023

[Errno 2] No such file or directory: 'PR_report/.report.json'

@codecov
Copy link

codecov bot commented May 30, 2023

Codecov Report

❌ Patch coverage is 45.59585% with 105 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.35%. Comparing base (359e50c) to head (d98c148).

Files with missing lines Patch % Lines
bluemira/magnets/fatigue.py 35.40% 104 Missing ⚠️
bluemira/magnets/solenoid_tools.py 96.87% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2287      +/-   ##
===========================================
- Coverage    77.56%   77.35%   -0.21%     
===========================================
  Files          247      249       +2     
  Lines        29422    29615     +193     
===========================================
+ Hits         22822    22910      +88     
- Misses        6600     6705     +105     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@CoronelBuendia CoronelBuendia added this to the Version X.X.X milestone May 30, 2023
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@je-cook je-cook modified the milestones: Version 1.5.0, Version 1.X.X Jul 6, 2023
@je-cook je-cook modified the milestones: Version 1.6.0, Version 1.X.X Aug 22, 2023
@je-cook je-cook modified the milestones: Version 1.7.0, Version 1.8.0 Oct 4, 2023
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sonarqubecloud
Copy link

Quality Gate Passed Quality Gate passed

The SonarCloud Quality Gate passed, but some issues were introduced.

14 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@je-cook je-cook modified the milestones: Version 1.9.0, Version 1.X.X Feb 8, 2024
@je-cook je-cook force-pushed the develop branch 5 times, most recently from 5a50acb to 7574352 Compare May 15, 2024 08:13
@je-cook je-cook force-pushed the feature/new_magnet_module branch from 49cf679 to 83e18c2 Compare June 3, 2024 06:01
@je-cook je-cook marked this pull request as draft June 3, 2024 06:01
@je-cook je-cook force-pushed the feature/new_magnet_module branch 2 times, most recently from fb72b27 to d33aa03 Compare June 4, 2024 06:19
@je-cook je-cook force-pushed the feature/new_magnet_module branch 2 times, most recently from 11df9c6 to 3465d37 Compare June 24, 2024 11:41
@je-cook je-cook force-pushed the feature/new_magnet_module branch from 1d64c5d to ed7b8c1 Compare October 10, 2024 09:30
@je-cook je-cook force-pushed the feature/new_magnet_module branch 2 times, most recently from 57bbfbc to 0434b80 Compare October 22, 2024 12:36
@je-cook je-cook force-pushed the feature/new_magnet_module branch 2 times, most recently from 3cd4a11 to 2b50956 Compare November 5, 2024 16:22
@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2024

⚠️ Warning Report

Found 0 new warnings, 0 fixed warnings. 🎉

All warnings (4)

On runtest

  • /home/runner/work/bluemira/bluemira/bluemira/codes/process/api.py:150: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.

On collect

  • /home/runner/work/bluemira/process/process/io/python_fortran_dicts.py:9: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  • /home/runner/miniconda3/envs/bluemira/lib/python3.11/site-packages/pkg_resources/__init__.py:3138: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('cherab'). Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
  • /home/runner/miniconda3/envs/bluemira/lib/python3.11/site-packages/pkg_resources/__init__.py:3138: DeprecationWarning: Deprecated call to pkg_resources.declare_namespace('sphinxcontrib'). Implementing implicit namespace packages (as specified in PEP 420) is preferred to pkg_resources.declare_namespace. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages

@je-cook je-cook force-pushed the feature/new_magnet_module branch from 2b50956 to 7523fb6 Compare November 18, 2024 12:52
@je-cook je-cook force-pushed the feature/new_magnet_module branch from 7523fb6 to 8600a87 Compare December 2, 2024 12:00
@je-cook je-cook force-pushed the feature/new_magnet_module branch from 8600a87 to ceb8692 Compare December 6, 2024 09:26
@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 6, 2024

@je-cook je-cook force-pushed the feature/new_magnet_module branch from ceb8692 to 304b8e1 Compare February 4, 2025 11:54
@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 4, 2025

@je-cook je-cook force-pushed the feature/new_magnet_module branch from 304b8e1 to 3737f51 Compare April 24, 2025 15:26
@sonarqubecloud
Copy link

CoronelBuendia and others added 11 commits August 22, 2025 11:19
* add solenoid tools file

* first pass max field

* first pass hoop stress

* flake8

* max flux

* rename

* docstrings

* axial stress start

* replace estimate with calculation

* remove temp scaffolding

* flake8

* add test

* flkae8

* add livingstone test
@CoronelBuendia CoronelBuendia force-pushed the feature/new_magnet_module branch from 3737f51 to 2edb0a1 Compare August 22, 2025 09:19
@CoronelBuendia CoronelBuendia changed the title Feature/new magnets module Feature: magnets module Aug 22, 2025
* examples in docs

* whoops

* fatigue dataclasses

* docstrings

* start

* pasue

* urgh

* finish semi-elliptical

* flake8

* reshuffle

* embedded crack

* quarter crack and clean up

* docstrings

* docstrings

* flake8

* add TODO

* minor

* add test file

* add test file

* equation checks

* units

* docstring and __all__

* flake8

* start ruffing

* ruff

* typo
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

3 participants