Skip to content

Conversation

@xylar
Copy link
Collaborator

@xylar xylar commented Mar 12, 2025

At least for python 3.10, we cannot supply a path as part of the filename. In general, we do not want to do this anyway, and instead want to use the full package path.

Checklist

  • Testing comment in the PR documents testing used to verify the changes

At least for python 3.10, we cannot supplly a path as part of the
filename.  In general, we do not want to do this anyway, and
instead want to use the full package path.
@xylar xylar added the bug label Mar 12, 2025
@xylar xylar self-assigned this Mar 12, 2025
@xylar
Copy link
Collaborator Author

xylar commented Mar 12, 2025

Testing

I ran the test suite with this (using python 3.10) and it seems to work, whereas it didn't before this fix. See:
https://web.lcrc.anl.gov/public/e3sm/diagnostic_output/ac.xasay-davis/analysis_testing/chrysalis/fix-colormaps/

xylar added a commit to xylar/MPAS-Analysis that referenced this pull request Mar 12, 2025
Fix `importlib.resources` calls for colormap data
@xylar
Copy link
Collaborator Author

xylar commented Mar 12, 2025

This got merged but GitHub doesn't seem to have noticed.

@xylar xylar closed this Mar 12, 2025
@xylar xylar deleted the fix-colormaps branch March 12, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant