emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Unrelated Babel blocks interfering


From: edgar
Subject: [O] Unrelated Babel blocks interfering
Date: Thu, 23 May 2019 21:32:53 +0000
User-agent: Roundcube Webmail/1.2.3

Hi!

I don't know if I am doing something wrong, if this is a feature or a bug. Emacs asks me to assign a value to variable "10" when running Emacs 26.2 with GTK 3.24.8 and Org 9.1.14 in GNU/Linux (running as emacs -q). Try to preview (org-babel-expand-src-block C-c C-v v) the block called dic_max_vals2straight_line_febpts_blk.py below (seems related to the ~# USE 0.1 * \Psi~ part). Please, reply directly to my e-mail if you need more information to debug or if I am doing something terribly wrong.

#+NAME: dic_xml_get_elmtag.py
#+BEGIN_SRC python
  treetag = tree.find(elmtag)
#+END_SRC

#+NAME: dic_xml_check_empty_elmtag.py
#+BEGIN_SRC python
  if treetag is not None and treetag is not []:
#+END_SRC

#+NAME: dic_xml_assert_elmtag.py
#+BEGIN_SRC python :noweb yes
  # * Make sure that the tag (node, subtree, whatever...)
  #   exists in the XML
#+END_SRC

#+NAME: dic_max_vals2straight_line_febpts_blk.py
#+BEGIN_SRC python :noweb yes
  <<dic_xml_get_elmtag.py>>
  <<dic_xml_check_empty_elmtag.py>>
      loaddata = treetag
      # ** Remove all pre-existing `loadcurve' (or equivalent)
      xmlset = loaddata
      [xmlset.remove(VAL) for VAL in xmlset.findall(curvetag)]

#+END_SRC

#+NAME: dic_max_vals2straight_line_disppts.py
#+BEGIN_SRC python :noweb yes
  def max_vals2straight_line_disppts(tree,
                                     curvetag="loadcurve",
                                     vals=None,
                                     num_pts=11):

      <<dic_max_vals2straight_line_febpts_blk.py>>

#+END_SRC

#+HEADER: :var mu_min = # USE 0.1 * \Psi
#+HEADER: :var mu_max = # USE 10 * \Psi
#+BEGIN_SRC python :noweb yes :tangle /tmp/t.py
  # Based on <feb_change_multi_and_plot_damage.py>
  # <feb_change_multi_and_plot_damage_xtraUTS.py>
  <<Routines_itertools_import.py>>
  <<feb_change_multi_and_plot_damage_head.py>>


  # Program start #################################

  # * Experimental part *

  <<dic_feb_deap_prefit_exper.py>>

  # DANGER: untested
  <<dic_xls_faillims_extra_pts.py>>

  # * Simulation part *

  # *** Read XML file

  <<feb2et.py>>

  # * Create a series of values with a preset difference
  #   between them

  <<dic_sweep_blk.py>>
#+END_SRC

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the 
NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]