jkitchin / pycse

Python computations in science and engineering
GNU General Public License v2.0
242 stars 67 forks source link

blank spaces between @np.vectorize and a function causes an error in publish #15

Closed jkitchin closed 7 years ago

jkitchin commented 11 years ago

This is surely a parsing error that it tries to evaluate an empty decorator.

prtkm commented 10 years ago

I found a related error (which made me miss my assignment submission deadline) while publishing using @u.wrap. If there is a latex comment above @u.wrap, publish fails and reports incorrect syntax, even though the code works perfectly fine. Find image of the error below.


capture

prtkm commented 10 years ago

Comments have the same effect

jkitchin commented 10 years ago

thanks for updating this. I think there is a problem with decorators and publishing.

John


John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu

On Sat, Oct 19, 2013 at 12:24 AM, Prateek Mehta notifications@github.comwrote:

Comments have the same effect

— Reply to this email directly or view it on GitHubhttps://github.com/jkitchin/pycse/issues/15#issuecomment-26643124 .

jkitchin commented 7 years ago

eliminated publish