-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated importlib.resources to stop using deprecated path function (#…
…1550) * updated importlib.resrouces functionality to now use *files* function instead of *path* * remove commented out code from before * changed importlib.resources import to help with black formatting * added variable elements to help with black code formatting issue, due to lines being too long with the new as_file(files(... paradigm needed * reran by using the black formatter itself -- should be good now * changed import structure back to only bringing in the namespace and accessing functions from that * added missing namespace reference * added missing namespace reference, again * made minor changes to return of data_path function and updated the comments accordingly * updated test_prescient.py for the formatting error --------- Co-authored-by: Ludovico Bianchi <lbianchi@lbl.gov>
- Loading branch information
1 parent
997c3a5
commit b24fde4
Showing
3 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters