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

Fix image_names cpython formatting error #81

Open
myselfhimself opened this issue Nov 19, 2020 · 0 comments
Open

Fix image_names cpython formatting error #81

myselfhimself opened this issue Nov 19, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@myselfhimself
Copy link
Owner

>>> gmic.run("sp apples sp earth print") # No names given
[gmic]-2./ Print images [0,1] = 'apples, earth'.
[0] = 'apples':
  size = (640,400,1,3) [3000 Kio of floats].
  data = (20,22,20,20,20,22,22,22,22,22,22,20,(...),1,1,1,1,1,1,1,1,1,1,1,1).
  min = 1, max = 250, mean = 58.5602, std = 59.8916, coords_min = (317,306,0,1), coords_max = (430,135,0,0).
[1] = 'earth':
  size = (500,500,1,3) [2929 Kio of floats].
  data = (0,0,0,0,0,0,0,0,0,0,0,0,(...),0,0,0,0,0,0,0,0,0,0,0,0).
  min = 0, max = 251, mean = 88.101, std = 69.4635, coords_min = (0,0,0,0), coords_max = (302,262,0,1).
>>> gmic.run("sp apples sp earth print", image_names=["salut", "yo"])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
SystemError: More keyword list entries (4) than format specifiers (3)

@myselfhimself myselfhimself added the bug Something isn't working label Apr 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant