emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Unrelated Babel blocks interfering
@ 2019-05-23 21:32 edgar
  0 siblings, 0 replies; only message in thread
From: edgar @ 2019-05-23 21:32 UTC (permalink / raw)
  To: emacs-orgmode

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!  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-23 21:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-23 21:32 Unrelated Babel blocks interfering edgar

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).