Skip to content

Dev#24

Merged
RicardoRyn merged 25 commits into
mainfrom
dev
Sep 6, 2025
Merged

Dev#24
RicardoRyn merged 25 commits into
mainfrom
dev

Conversation

@RicardoRyn
Copy link
Copy Markdown
Owner

No description provided.

---

构建(release): 优化发布说明格式
---

文档(web): 修改网页主页的部分描述
Corrected non-compliant Markdown syntax in some web pages.
Only formatting was updated; the content remains unchanged.

---

文档(web): 调整网页文档的 Markdown 格式

修正了部分网页文档中不符合 Markdown 规范的写法,仅对格式进行了调整,实际内容未作改动。
---

样式(surface): 使用 `Mapping` 替代 `dict` 进行类型标注
---

测试(misc): 更新测试文件
…s to 12

---

重构(corr): 将相关图中 ax 标题的默认字体大小调整为 12
---

测试(misc): 更新测试文件
---

文档(web): 更新网页内容
---

样式(corr): 代码格式化
Cause: the function checking user input data format was implemented incorrectly.
This function was intended only for static validation and did not affect runtime behavior.
Temporarily removed the function to ensure `plot_multi_group_bar_figure` works as expected.

---

修复(bar):修复 multi_bar 绘图失败的 Bug

问题原因:用于检查用户输入数据格式的函数实现有误。
该检查函数仅用于静态验证,不影响实际运行。
为保证 `plot_multi_group_bar_figure` 函数正常工作,暂时删除了该检查函数。
---

重构(corr/matrix): 函数将返回Axes对象
---

测试: 更新测试内容
Deprecate old functions of `brain_surface_deprecated`.

---

重构(surface): 弃用旧函数

弃用`brain_surface_deprecated`中的旧函数。
will reimplement with a more optimized solution in the future

---

重构(circos): 暂时禁用circos图功能

未来将采用更优化的方案重新实现
---

文档(web): 更新网页内容
---

构建(deps): 更新依赖版本
No longer depends on the mne-connectivity package, now uses pycirclize for implementation.

---

功能(circos): 实现全新的circos图绘制方法

不再依赖 mne-connectivity 包,改用 pycirclize 包实现。
---

文档(web): 更新网页内容
---

文档(notebooks): 提供notebooks
---

测试(notebook): 更新测试内容
---

文档(surf/matrix): 更新函数注释文档
Color:
- `gen_hex_colors`: Generate n random hexadecimal color strings.
- `gen_cmap`: Create a linear colormap from white to a specified color.
- `value_to_hex`: Map values to hexadecimal color strings using a colormap and normalization.

Matrix:
- `gen_symmetric_matrix`: Generate a symmetric matrix with specified value range and sparsity.
- `is_symmetric_square`: Check if a matrix is symmetric square.

---

功能(utils): 提供一些实用的工具函数

颜色:
- `gen_hex_colors`: 生成 n 个随机的十六进制颜色字符串。
- `gen_cmap`: 生成一个从白色到指定颜色的线性渐变色图。
- `value_to_hex`: 根据数值、色图和归一化对象,将数值映射为十六进制颜色字符串。

矩阵:
- `gen_symmetric_matrix`: 生成一个对称方阵,可指定元素范围和稀疏度。
- `is_symmetric_square`: 判断一个矩阵是否为对称方阵。
---

修复(connec): 修复整数带来的颜色问题
---

样式(bar): 修改默认随机种子
--

文档(readme): 更新内容
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 6, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 4 package(s) with unknown licenses.
See the Details below.

License Issues

pyproject.toml

PackageVersionLicenseIssue Type
pycirclize>= 1.10.0NullUnknown License
matplotlib>= 3.10.6NullUnknown License
numpy>= 2.3.2NullUnknown License
tqdm>= 4.67.1NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
pip/matplotlib >= 3.10.6 🟢 7.5
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 22 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Security-Policy🟢 10security policy file detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 9license file detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 8branch protection is not maximal on development and all release branches
Binary-Artifacts🟢 10no binaries found in the repo
Packaging🟢 10packaging workflow detected
Fuzzing🟢 10project is fuzzed
Vulnerabilities⚠️ 019 existing vulnerabilities detected
SAST🟢 10SAST tool is run on all commits
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
pip/numpy >= 2.3.2 🟢 7.2
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1030 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10
Dependency-Update-Tool🟢 10update tool detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 3dependency not pinned by hash detected -- score normalized to 3
SAST🟢 9SAST tool detected but not run on all commits
License🟢 9license file detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Vulnerabilities⚠️ 026 existing vulnerabilities detected
Fuzzing🟢 10project is fuzzed
Branch-Protection🟢 3branch protection is not maximal on development and all release branches
Security-Policy🟢 9security policy file detected
CI-Tests🟢 1018 out of 18 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 98 contributing companies or organizations
pip/plotly >= 6.3.0 🟢 5.4
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 10all changesets reviewed
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Security-Policy🟢 10security policy file detected
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Packaging🟢 10packaging workflow detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Fuzzing⚠️ 0project is not fuzzed
Binary-Artifacts🟢 10no binaries found in the repo
Vulnerabilities⚠️ 026 existing vulnerabilities detected
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
pip/pycirclize >= 1.10.0 UnknownUnknown
pip/scipy >= 1.16.1 🟢 5.8
Details
CheckScoreReason
Token-Permissions⚠️ -1No tokens found
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 9Found 13/14 approved changesets -- score normalized to 9
Maintained🟢 1030 commit(s) and 21 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow⚠️ -1no workflows found
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Security-Policy🟢 9security policy file detected
Vulnerabilities🟢 37 existing vulnerabilities detected
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Binary-Artifacts🟢 10no binaries found in the repo
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
Branch-Protection⚠️ -1internal error: error during GetBranch(maintenance/1.11.x): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration
Fuzzing🟢 10project is fuzzed
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
pip/tqdm >= 4.67.1 🟢 5.8
Details
CheckScoreReason
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 5Found 4/7 approved changesets -- score normalized to 5
Token-Permissions⚠️ -1No tokens found
Dangerous-Workflow⚠️ -1no workflows found
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ -1no dependencies found
Security-Policy⚠️ 0security policy file not detected
CII-Best-Practices🟢 5badge detected: Passing
Fuzzing🟢 10project is fuzzed
License🟢 9license file detected
Vulnerabilities🟢 100 existing vulnerabilities detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration
Signed-Releases🟢 85 out of the last 5 releases have a total of 5 signed artifacts.
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0

Scanned Files

  • pyproject.toml

@RicardoRyn RicardoRyn merged commit b1095d6 into main Sep 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant