Testing fix for small bug in sharpy_main
@@ -18,7 +18,7 @@ import sys
import pickle
-def main(args):
+def main(args=None):
"""
Main ``SHARPy`` routine
@@ -57,6 +57,9 @@ def main(args):
Imperial College London 2018""")
parser.add_argument('input_filename', help='path to the *.solver.txt input file', type=str)
parser.add_argument('-r', '--restart', help='restart the solution with a given snapshot', type=str, default=None)
+ if args is not None:
+ args = parser.parse_args(args)
+ else:
args = parser.parse_args()
settings = input_arg.read_settings(args)
