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'
@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