Skip to content

Commit

Permalink
Merge pull request #2072 from bmhowe23/pr-merge-main-to-feature
Browse files Browse the repository at this point in the history
Merge main to features/qubit-mgmt
  • Loading branch information
schweitzpgi authored Aug 9, 2024
2 parents 454b7ef + a3e4a78 commit 515d5b1
Show file tree
Hide file tree
Showing 60 changed files with 5,085 additions and 247 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/config/spelling_allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ canonicalization
canonicalize
canonicalizer
canonicalizes
centroid
centroids
codebase
comparator
comparators
Expand All @@ -147,6 +149,7 @@ coprocessing
coprocessor
coprocessors
copyable
coreset
cortex-cli
coupler
couplers
Expand All @@ -161,6 +164,7 @@ deallocation
deallocations
decrement
decrementing
dendrogram
deserialize
destructor
dimensionality
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ jobs:
docker run --rm -dit --name wheel-validation-examples wheel_validation:local
status_sum=0
for ex in `find docs/sphinx/examples/python -name '*.py' -not -path '*/providers/*'`; do
for ex in `find docs/sphinx/examples/python -name '*.py' -not -path '*/providers/*' -not -path '*/divisive_clustering_src/*'`; do
file="${ex#docs/sphinx/examples/python/}"
echo "__Example ${file}:__" >> /tmp/validation.out
(docker exec wheel-validation-examples bash -c "python${{ inputs.python_version }} /tmp/examples/$file" >> /tmp/validation.out) && success=true || success=false
Expand Down
4 changes: 4 additions & 0 deletions docs/notebook_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def validate(notebook_filename, available_backends):
match = re.search('set_target[\\\s\(]+"(.+)\\\\"[)]', notebook_content)
if match and (match.group(1) not in available_backends):
return False
for notebook_content in lines:
match = re.search('--target ([^ ]+)', notebook_content)
if match and (match.group(1) not in available_backends):
return False
return True


Expand Down
1,088 changes: 1,088 additions & 0 deletions docs/sphinx/examples/python/tutorials/Divisive_clustering.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit 515d5b1

Please sign in to comment.