We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I run some code from the Terminal of MacOS, which calls bdsf.process_image(), I get the following (partial) output:
bdsf.process_image()
Minimum number of pixels per island ..... : 115 Number of islands found ................. : 19 stty: 'standard input': Inappropriate ioctl for device stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians .......... : [stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians .......... :stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians .........stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians ......stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians ....stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussians .stty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussianstty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaussstty: 'standard input': Inappropriate ioctl for device Fitting islands with Gaustty: 'standard input': Inappropriate ioctl for device Fitting islands with stty: 'standard input': Inappropriate ioctl for device Fitting islands wistty: 'standard input': Inappropriate ioctl for device Fitting islandsstty: 'standard input': Inappropriate ioctl for device
I think this comes from bdsf.functions.getTerminalSize, when it's executing struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234"))
bdsf.functions.getTerminalSize
struct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234"))
My hunch is that the above termios constant is not good for Macs. I'm running it on MacOS Mojave.
It'd be great if there was a workaround for this on Macs, because it's cluttering the terminal output. If anyone has a solution, please let me know.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I run some code from the Terminal of MacOS, which calls
bdsf.process_image()
, I get the following (partial) output:I think this comes from
bdsf.functions.getTerminalSize
, when it's executingstruct.unpack("hh", fcntl.ioctl(fd, termios.TIOCGWINSZ, "1234"))
My hunch is that the above termios constant is not good for Macs. I'm running it on MacOS Mojave.
It'd be great if there was a workaround for this on Macs, because it's cluttering the terminal output. If anyone has a solution, please let me know.
The text was updated successfully, but these errors were encountered: