OpenSourceEconomics / grmpy

Python package for the simulation and estimation of generalized Roy model
http://grmpy.readthedocs.io
MIT License
19 stars 5 forks source link

cannot run notebook, problem in cell 5 #158

Closed peisenha closed 5 years ago

peisenha commented 5 years ago

File "", line 8 All 10000 ^ IndentationError: unindent does not match any outer indentation level

SeBecker commented 5 years ago

Every cell that contains a %load ***.info command works if you delete the file information and uncomment the load command.

peisenha commented 5 years ago

Thanks, please briefly remind me why we need these breaks in execution and cannot have a notebook that can be run from top to bottom? Do not get me wrong, you might have a very good reason, let me know .. Thanks!

On Sat, Oct 20, 2018 at 1:49 PM Sebastian Becker notifications@github.com wrote:

Every cell that contains a %load ***.info command works if you delete the file information and uncomment the load command.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenSourceEconomics/grmpy/issues/158#issuecomment-431573490, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcMJ3293PZb3fLTNRzcqUJqUzdaGJm4ks5umw3agaJpZM4XswWb .

-- Philipp Eisenhauer Economist

Mail eisenhauer@policy-lab.org Web www.eisenhauer.io Repository https://github.com/peisenha

SeBecker commented 5 years ago

The idea was that the online version of the notebook does only include executed cells so that users are not forced to execute the notebook by itself for obtaining an overview by just taking a look on the repository version of the notebook. Unfortunately i don't know any alternative command for displaying files inside of a notebook, do you? The new version of the notebook allows users to execute it from top to bottom but only once. The %load cells will run into the same error as before if you try it a second time. To tell you the truth i am not happy about this workaround. I am returning to the mainland today, so i hope that my internet connection/time schedule will enable me to tackle this issue in the next days.

peisenha commented 5 years ago

Thanks for the update, save travels!

On Thu, Oct 25, 2018 at 5:42 AM Sebastian Becker notifications@github.com wrote:

The idea was that the online version of the notebook does only include executed cells so that users are not forced to execute the notebook by itself but to obtain an overview by just taking a look on the repository version of the notebook. Unfortunately i don't know any alternative command for displaying files inside of a notebook, do you? The new version of the notebook allows users to execute it from top to bottom but only once. The %load cells will run into the same error as before if you try it a second time. To tell you the truth i am not happy about this workaround. I am returning to the mainland today, so i hope that my internet connection/time schedule will enable me to tackle this issue in the next days.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/OpenSourceEconomics/grmpy/issues/158#issuecomment-432903915, or mute the thread https://github.com/notifications/unsubscribe-auth/ADcMJ6Yw048tIXlUvEN3X10WfuF9sZ_Iks5uoTMJgaJpZM4XswWb .

-- Philipp Eisenhauer Economist

Mail eisenhauer@policy-lab.org Web www.eisenhauer.io Repository https://github.com/peisenha

SeBecker commented 5 years ago

Instead of the %load command we will use !cat from now on. This allows to execute the notebook from top to bottom even without the problem i mentioned above.