From 4cd232d16c3cc078dd76bbdc5002c40c22872b43 Mon Sep 17 00:00:00 2001
From: Cristian C Lalescu <Cristian.Lalescu@ds.mpg.de>
Date: Sun, 24 Jan 2016 16:19:26 +0100
Subject: [PATCH] fix minor bug in __main__

---
 bfps/__main__.py    | 2 +-
 bfps/_fluid_base.py | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/bfps/__main__.py b/bfps/__main__.py
index 3efadc7b..baa0b403 100644
--- a/bfps/__main__.py
+++ b/bfps/__main__.py
@@ -50,7 +50,7 @@ def main():
     # error is thrown if first option is not a base class, so Launcher
     # cannot be executed by mistake.
     c = eval('{0}()'.format(opt.base_class))
-    c.launch(sys.argv[2:])
+    c.launch(args = sys.argv[2:])
     return None
 
 if __name__ == '__main__':
diff --git a/bfps/_fluid_base.py b/bfps/_fluid_base.py
index 6fb0db90..8c313b05 100644
--- a/bfps/_fluid_base.py
+++ b/bfps/_fluid_base.py
@@ -398,6 +398,7 @@ class _fluid_particle_base(_code):
         return None
     def launch(
             self,
+            args = [],
             **kwargs):
         return None
 
-- 
GitLab