lizhen-dlut / solfec

Automatically exported from code.google.com/p/solfec
0 stars 0 forks source link

sys.argv is mangled #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Run:
 solfec myscript myarg1

where myscript includes:
 import sys
 print sys.argv

What is the expected output? What do you see instead?
Ideal: ['solfec', 'myscript', 'myarg1']
OK: ['myscript', 'myarg1']
Actual: ['modpython']

What version of the product are you using? On what operating system?
Built from source 18 Jul 2011, Scientific Linux 6.0

Please provide any additional information below.
Having sys.argv available to Solfec scripts would be really useful. As a 
specific example it allows a generic postprocessing script to be passed the 
analysis as an argument, and then plots to be tagged with the relevant 
analysis.  This would make our verification much easier.

Original issue reported on code.google.com by steve.br...@atkinsglobal.com on 7 Sep 2011 at 10:57

GoogleCodeExporter commented 8 years ago
NON_SOLFEC_ARGV returns now the list of non-Solfec parameters passed at the 
input. (To be checked in later today).

Original comment by t.kozi...@gmail.com on 9 Sep 2011 at 12:46