Skip to content

Commit

Permalink
Update numpy requirement from <=1.26.4,>=1.16 to >=1.16,<=2.0.0 (#1104)
Browse files Browse the repository at this point in the history
* Update numpy requirement from <=1.26.4,>=1.16 to >=1.16,<=2.0.0

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.16.0...v2.0.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>

* Use np.nan instead of np.NaN

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Taylor Salo <[email protected]>
  • Loading branch information
dependabot[bot] and tsalo authored Jul 2, 2024
1 parent 7ca9c27 commit daeaf28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies = [
"matplotlib",
"nibabel>=2.5.1,<=5.2.1",
"nilearn>=0.10.3,<=0.10.4",
"numpy>=1.16,<=1.26.4",
"numpy>=1.16,<=2.0.0",
"pandas>=2.0,<=2.2.2",
"pybtex",
"pybtex-apa-style",
Expand Down
2 changes: 1 addition & 1 deletion tedana/selection/selection_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1814,7 +1814,7 @@ def calc_revised_meanmetricrank_guesses(
tmp_d_table_score = generate_decision_table_score(
tmp_kappa, tmp_dice_ft2, tmp_signal_m_noise_t, tmp_countnoise, tmp_countsig_ft2
)
selector.component_table_[f"d_table_score_node{selector.current_node_idx_}"] = np.NaN
selector.component_table_[f"d_table_score_node{selector.current_node_idx_}"] = np.nan
selector.component_table_.loc[
comps2use, f"d_table_score_node{selector.current_node_idx_}"
] = tmp_d_table_score
Expand Down

0 comments on commit daeaf28

Please sign in to comment.