Giter Site home page Giter Site logo

poet's People

Contributors

bhbrooks avatar erinmmay avatar exowanderer avatar iancrossfield avatar kevin218 avatar meganmansfield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

poet's Issues

p1 fails with ValueError

TLDR: Matplotlib has changed the valid options for imshow. Commenting out the 'origin' keyword results in a successful execution and avoids the error trace below.

$ python poet.py p1

Traceback (most recent call last):
File "/home/ianc/proj/spitzer/hd73344/poet/run/poet.py", line 44, in
e = p1.Event(arg)
File "/home/ianc/python/POET/code/lib/poet_1event.py", line 44, in init
self.check()
File "/home/ianc/python/POET/code/lib/poet_1event.py", line 410, in check
plt.imshow(image, interpolation='nearest', origin='ll', cmap=plt.cm.gray)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 456, in wrapper
return func(*args, **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/pyplot.py", line 2640, in imshow
__ret = gca().imshow(
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/deprecation.py", line 456, in wrapper
return func(*args, **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/init.py", line 1412, in inner
return func(ax, *map(sanitize_sequence, args), **kwargs)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/axes/_axes.py", line 5482, in imshow
im = mimage.AxesImage(self, cmap, norm, interpolation,
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/image.py", line 929, in init
super().init(
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/image.py", line 249, in init
_api.check_in_list(["upper", "lower"], origin=origin)
File "/home/ianc/miniconda3/lib/python3.9/site-packages/matplotlib/_api/init.py", line 129, in check_in_list
raise ValueError(msg)
ValueError: 'll' is not a valid value for origin; supported values are 'upper', 'lower'

error importing nnint and bilint

Hi Kevin et al. - nice work on this!! I almost got everything working in Python 3 without a hitch, but I'm running into one weird issue.

I compiled the c modules using the build.sh script in models_c. There were no compilation errors. However, when I run UnitTest.py I get two errors:

Bilinint: FAIL to load
Nnint: FAIL to load

All the other extensions are fine. Have you run into this, or have any idea what the problem might be?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.