You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System: Macbook Pro
CPU:M1 pro
OS: macOS Monterey 12.3.1
Problem: When viewing .cif models, attempting to launch mmterm in a window smaller than 53x29 causes the following error.
Description: when terminal window width <53 || height <29:
Error: Traceback (most recent call last): File "/usr/local/bin/mmterm", line 21, in <module> view(args.in_file, args.format, args.model, args.chains, args.boxsize) File "/Users/michael/bioinformatics/mmterm/mmterm/view.py", line 251, in view window_structure.addstr(0, 0, canvas.frame()) _curses.error: addwstr() returned ERR
Workaround: manually resize terminal window to larger than 52x28
Possible Solution: include check during init & resize to minimum if smaller than req.
The text was updated successfully, but these errors were encountered:
mjfos2r
changed the title
issue with minimum terminal window size, macOS Monterey, Apple Silicon M1pro
curses.error: addwstr() returned ERR in macOS Monterey
Apr 2, 2022
System: Macbook Pro
CPU:M1 pro
OS: macOS Monterey 12.3.1
Problem: When viewing .cif models, attempting to launch mmterm in a window smaller than 53x29 causes the following error.
Description: when terminal window width <53 || height <29:
Error:
Traceback (most recent call last): File "/usr/local/bin/mmterm", line 21, in <module> view(args.in_file, args.format, args.model, args.chains, args.boxsize) File "/Users/michael/bioinformatics/mmterm/mmterm/view.py", line 251, in view window_structure.addstr(0, 0, canvas.frame()) _curses.error: addwstr() returned ERR
Workaround: manually resize terminal window to larger than 52x28
Possible Solution: include check during init & resize to minimum if smaller than req.
The text was updated successfully, but these errors were encountered: