Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot import Tri module due to deprecated function call #80

Open
jewellwk opened this issue Mar 23, 2023 · 0 comments
Open

Cannot import Tri module due to deprecated function call #80

jewellwk opened this issue Mar 23, 2023 · 0 comments

Comments

@jewellwk
Copy link

@niftools/pyffi-reviewers

Issue Overview

I work for a lab that needs to be able to automate how they process .tri files. This is the only python library that can handle specific formats. I cannot import the Tri sub module because there is a reference to time.clock(). The clock function has been deprecated.

Version Information

Pyffi Version Info

2.2.3
Run the following command if it is installed.
python -c "import pyffi; print(pyffi.version)"

Platform information

macOS Ventura

Context

I cannot import the Tri sub module because there is a reference to time.clock(). The clock function has been deprecated.

Steps to Reproduce

Attempt to import pyffi.formats.tri

Expected Result

AttributeError: module 'time' has no attribute 'clock'

Actual Result

AttributeError: module 'time' has no attribute 'clock'

Possible Fix

Update reference to newer function

Screenshot

N/A

Logs and Files

N/A

Console Output

N/A

Similar Known Issues

N/A

Additional Information

N/A

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

No branches or pull requests

1 participant